hc
2024-05-11 04dd17822334871b23ea2862f7798fb0e0007777
kernel/include/net/dsfield.h
....@@ -21,7 +21,7 @@
2121
2222 static inline __u8 ipv6_get_dsfield(const struct ipv6hdr *ipv6h)
2323 {
24
- return ntohs(*(const __be16 *)ipv6h) >> 4;
24
+ return ntohs(*(__force const __be16 *)ipv6h) >> 4;
2525 }
2626
2727