--- zzzz-none-000/linux-4.9.231/net/ipv4/ip_input.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/net/ipv4/ip_input.c 2022-08-31 08:19:49.000000000 +0000 @@ -148,6 +148,10 @@ #include #include +#ifdef CONFIG_AVM_PA +#include +#endif + /* * Process Router Attention IP option (RFC 2113) */ @@ -484,6 +488,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, net, NULL, skb, dev, NULL, ip_rcv_finish);