--- zzzz-none-000/linux-3.10.107/net/ipv4/ip_forward.c 2017-06-27 09:49:32.000000000 +0000 +++ vr9-7490-729/linux-3.10.107/net/ipv4/ip_forward.c 2021-11-10 11:53:56.000000000 +0000 @@ -39,6 +39,10 @@ #include #include +#ifdef CONFIG_AVM_PA +#include +#endif + static bool ip_may_fragment(const struct sk_buff *skb) { return unlikely((ip_hdr(skb)->frag_off & htons(IP_DF)) == 0) || @@ -114,6 +118,10 @@ if (unlikely(opt->optlen)) ip_forward_options(skb); +#ifdef CONFIG_AVM_PA + avm_pa_mark_routed(skb); +#endif + if (ip_gso_exceeds_dst_mtu(skb)) return ip_forward_finish_gso(skb);