hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
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