--- zzzz-none-000/linux-4.9.231/net/ipv6/ip6_input.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/net/ipv6/ip6_input.c 2022-03-30 12:03:35.000000000 +0000 @@ -47,6 +47,10 @@ #include #include +#ifdef CONFIG_AVM_PA +#include +#endif + int ip6_rcv_finish(struct net *net, struct sock *sk, struct sk_buff *skb) { /* if ingress device is enslaved to an L3 master device pass the @@ -95,6 +99,10 @@ memset(IP6CB(skb), 0, sizeof(struct inet6_skb_parm)); +#ifdef CONFIG_AVM_PA + AVM_PKT_INFO(skb)->ptype_pid_handle = AVM_PA_PTYPE_DEVINFO(pt)->pid_handle; +#endif + /* * Store incoming device index. When the packet will * be queued, we cannot refer to skb->dev anymore.