From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Dichtel Subject: [PATCH net v2 0/2] ip[6] tunnels: fix mtu calculations Date: Thu, 31 May 2018 10:59:31 +0200 Message-ID: <20180531085933.31079-1-nicolas.dichtel@6wind.com> References: <20180530202904.GA23937@splinter> Cc: netdev@vger.kernel.org To: davem@davemloft.net, petrm@mellanox.com, idosch@mellanox.com Return-path: Received: from host.76.145.23.62.rev.coltfrance.com ([62.23.145.76]:36119 "EHLO proxy.6wind.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754103AbeEaI7x (ORCPT ); Thu, 31 May 2018 04:59:53 -0400 In-Reply-To: <20180530202904.GA23937@splinter> Sender: netdev-owner@vger.kernel.org List-ID: The first patch restores the possibility to bind an ip4 tunnel to an interface whith a large mtu. The second patch was spotted after the first fix. I also target it to net because it fixes the max mtu value that can be used for ipv6 tunnels. v2: remove the 0xfff8 in ip_tunnel_newlink() net/ipv4/ip_tunnel.c | 8 ++++---- net/ipv6/ip6_tunnel.c | 11 ++++++++--- net/ipv6/sit.c | 5 +++-- 3 files changed, 15 insertions(+), 9 deletions(-) Comments are welcomed, Regards, Nicolas