kernel/include/net/dsfield.h
.. .. @@ -21,7 +21,7 @@ 21 21 22 22 static inline __u8 ipv6_get_dsfield(const struct ipv6hdr *ipv6h) 23 23 { 24 - return ntohs(*(const __be16 *)ipv6h) >> 4;24 + return ntohs(*(__force const __be16 *)ipv6h) >> 4;25 25 } 26 26 27 27