Re: [PATCH net] ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path

2017-09-30 Thread David Miller
From: Xin Long Date: Thu, 28 Sep 2017 13:24:07 +0800 > Now when updating mtu in tx path, it doesn't consider ARPHRD_ETHER tunnel > device, like ip6gre_tap tunnel, for which it should also subtract ether > header to get the correct mtu. > > Signed-off-by: Xin Long

[PATCH net] ip6_tunnel: update mtu properly for ARPHRD_ETHER tunnel device in tx path

2017-09-27 Thread Xin Long
Now when updating mtu in tx path, it doesn't consider ARPHRD_ETHER tunnel device, like ip6gre_tap tunnel, for which it should also subtract ether header to get the correct mtu. Signed-off-by: Xin Long --- net/ipv6/ip6_tunnel.c | 5 +++-- 1 file changed, 3 insertions(+), 2