--- zzzz-none-000/linux-4.4.271/net/ipv6/exthdrs.c 2021-06-03 06:22:09.000000000 +0000 +++ maple-fsgw-759/linux-4.4.271/net/ipv6/exthdrs.c 2023-12-20 10:37:40.000000000 +0000 @@ -573,7 +573,7 @@ goto drop; } - pkt_len = ntohl(*(__be32 *)(nh + optoff + 2)); + pkt_len = ntohl(net_hdr_word(nh + optoff + 2)); if (pkt_len <= IPV6_MAXPLEN) { IP6_INC_STATS_BH(net, ipv6_skb_idev(skb), IPSTATS_MIB_INHDRERRORS);