Re: [PATCH net-next] lwtunnel: subtract tunnel headroom from mtu on output redirect

2016-11-16 Thread David Miller
From: David Lebrun Date: Wed, 16 Nov 2016 10:05:46 +0100 > This patch changes the lwtunnel_headroom() function which is called > in ipv4_mtu() and ip6_mtu(), to also return the correct headroom > value when the lwtunnel state is OUTPUT_REDIRECT. > > This patch enables e.g. SR-IPv6 encapsulations

[PATCH net-next] lwtunnel: subtract tunnel headroom from mtu on output redirect

2016-11-16 Thread David Lebrun
This patch changes the lwtunnel_headroom() function which is called in ipv4_mtu() and ip6_mtu(), to also return the correct headroom value when the lwtunnel state is OUTPUT_REDIRECT. This patch enables e.g. SR-IPv6 encapsulations to work without manually setting the route mtu. Acked-by: Roopa Pra