--- zzzz-none-000/linux-3.10.107/net/ipv4/ip_input.c 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/net/ipv4/ip_input.c 2021-11-10 11:53:56.000000000 +0000 @@ -146,6 +146,10 @@ #include #include +#ifdef CONFIG_AVM_PA +#include +#endif + /* * Process Router Attention IP option (RFC 2113) */ @@ -442,6 +446,9 @@ /* Must drop socket now because of tproxy. */ skb_orphan(skb); +#ifdef CONFIG_AVM_PA + AVM_PKT_INFO(skb)->ptype_pid_handle = AVM_PA_PTYPE_DEVINFO(pt)->pid_handle; +#endif return NF_HOOK(NFPROTO_IPV4, NF_INET_PRE_ROUTING, skb, dev, NULL, ip_rcv_finish);