From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from shards.monkeyblade.net ([184.105.139.130]:33288 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751786AbeB0Tgt (ORCPT ); Tue, 27 Feb 2018 14:36:49 -0500 Date: Tue, 27 Feb 2018 14:36:47 -0500 (EST) Message-Id: <20180227.143647.1323299536888298024.davem@davemloft.net> To: lucien.xin@gmail.com Cc: netdev@vger.kernel.org Subject: Re: [PATCH net 0/3] net: fix IFLA_MTU ignored on NEWLINK for some ip and ipv6 tunnels From: David Miller In-Reply-To: References: Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: From: Xin Long Date: Tue, 27 Feb 2018 19:19:38 +0800 > The fix for ip_gre follows the way other ip tunnels do: not to > set mtu in ndo_init, as ip_tunnel_newlink will take care of it > properly. > > The fix for ip6_tunnel and sit follows the way ipv6 tunenls do: > to set mtu again according to IFLA_MTU after, as all bind_dev > are called in ndo_init where it can't get the tb[IFLA_MTU]. Series applied, thanks.