hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
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