--- zzzz-none-000/linux-4.4.60/net/ipv6/output_core.c 2017-04-08 07:53:53.000000000 +0000 +++ hawkeye-5590-729/linux-4.4.60/net/ipv6/output_core.c 2022-03-30 14:21:53.000000000 +0000 @@ -9,6 +9,7 @@ #include #include #include +#include static u32 __ipv6_select_ident(struct net *net, u32 hashrnd, const struct in6_addr *dst, @@ -150,6 +151,9 @@ skb->protocol = htons(ETH_P_IPV6); + if (avm_pa_dev_local_out(AVM_PA_NET_IP6_DEVINFO(net), skb) == AVM_PA_RX_STOLEN) + return 0; + return nf_hook(NFPROTO_IPV6, NF_INET_LOCAL_OUT, net, sk, skb, NULL, skb_dst(skb)->dev, dst_output);