--- zzzz-none-000/linux-4.19.183/net/ipv6/raw.c 2021-03-24 10:07:39.000000000 +0000 +++ bcm63-7530ax-756/linux-4.19.183/net/ipv6/raw.c 2023-06-28 08:54:21.000000000 +0000 @@ -1033,6 +1033,7 @@ inet_sk(sk)->hdrincl = !!val; return 0; case IPV6_CHECKSUM: +#if !defined(CONFIG_BCM_KF_IPV6) if (inet_sk(sk)->inet_num == IPPROTO_ICMPV6 && level == IPPROTO_IPV6) { /* @@ -1045,6 +1046,7 @@ */ return -EINVAL; } +#endif /* You may get strange result with a positive odd offset; RFC2292bis agrees with me. */