--- zzzz-none-000/linux-4.9.231/net/ipv4/ip_forward.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5590-729/linux-4.9.231/net/ipv4/ip_forward.c 2022-03-30 12:03:35.000000000 +0000 @@ -39,6 +39,10 @@ #include #include +#ifdef CONFIG_AVM_PA +#include +#endif + static bool ip_exceeds_mtu(const struct sk_buff *skb, unsigned int mtu) { if (skb->len <= mtu) @@ -71,6 +75,10 @@ if (unlikely(opt->optlen)) ip_forward_options(skb); +#ifdef CONFIG_AVM_PA + avm_pa_mark_routed(skb); +#endif + return dst_output(net, sk, skb); }