forked from ~ljy/RK356X_SDK_RELEASE

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