--- zzzz-none-000/linux-4.9.231/net/ipv4/ip_forward.c 2020-07-22 07:10:54.000000000 +0000 +++ falcon-5530-730/linux-4.9.231/net/ipv4/ip_forward.c 2022-08-31 08:19:49.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); }