--- zzzz-none-000/linux-4.4.60/net/ipv6/ip6_input.c 2017-04-08 07:53:53.000000000 +0000 +++ scorpion-7490-727/linux-4.4.60/net/ipv6/ip6_input.c 2021-02-04 17:41:59.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 (sysctl_ip_early_demux && !skb_dst(skb) && skb->sk == NULL) { @@ -88,6 +92,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.