--- zzzz-none-000/linux-4.4.60/net/ipv4/ip_forward.c 2017-04-08 07:53:53.000000000 +0000 +++ dragonfly-4020-701/linux-4.4.60/net/ipv4/ip_forward.c 2018-11-08 13:36:17.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) @@ -72,6 +76,9 @@ ip_forward_options(skb); skb_sender_cpu_clear(skb); +#ifdef CONFIG_AVM_PA + avm_pa_mark_routed(skb); +#endif return dst_output(net, sk, skb); }