--- zzzz-none-000/linux-3.10.107/net/ipv6/ip6_input.c 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/net/ipv6/ip6_input.c 2021-11-10 11:53:56.000000000 +0000 @@ -45,7 +45,9 @@ #include #include - +#ifdef CONFIG_AVM_PA +#include +#endif int ip6_rcv_finish(struct sk_buff *skb) { @@ -88,6 +90,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.