hc
2024-05-10 ee930fffee469d076998274a2ca55e13dc1efb67
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