Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2255530imm; Thu, 7 Jun 2018 07:47:20 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKWFGhLjaHnEXrNkTsC8n2kvpZsjJMsN6dUyRnR5bOjYDNl8skcbMwahUDOJC4p1tfrI2PV X-Received: by 2002:a62:968f:: with SMTP id s15-v6mr2052700pfk.191.1528382840378; Thu, 07 Jun 2018 07:47:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528382840; cv=none; d=google.com; s=arc-20160816; b=FeqNQRtfLqMt3XfHZttcjBgGnuKum5AIkPUaw6DKEyThJxa2BZOIgHHAQQ7kwHVmSZ nMHTGv9ziA63Ww7ZIhCoEubsrlw2NbmCZkm4m4x1BHag6JrhhbjmiDlWdhxH3d4Vvjoy 9vPKA2ylGnM1GwymV5uKD7unzSanKOW5SEXLIzXfPe/iNJoZ7Ity4w4PiXl2i25CwU4z /a/gDYbTJyn3hB4qQ84bwA6l2yuzSndgQYnm1V6VHmJP1oOi8QCI6dl7H6n1aS4Au9IS hgS3SskpkROiKpCN2FNQMKruHLKJR6G9ToyDIrUfy7TGoaIi0MMkDF+cPI4h+8Vf7exY g4iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition :arc-authentication-results; bh=6ikDDQX+tfaPYCCPZe5JVw4rjOTD3zGYZOhR8njdGr0=; b=cy0fdDMGdin6/IVB5rMFts/XPUzxShgmzUpKG0BiIzdIQ7iy0bMgIWo4PxwmFCqYDe Wu0yUDW0ubZnLcOcqtR4AudM86jZGqOct5b7bBl/eIKvPDnO9HLQvQvbmG3UJTJN7cJh bo3ohEu4lHlmOMXyYy04cV/m6G2SfdXt+P0ABsa49QPmV4bAs9uK2cLfM5fnuA/cgmbt bajUBB9RbBf6+JULEfdPAfWJgAtysPGyUILcXmexEiI/lfjPozaGjh9SXst8iLHOovFP OrHd+c4yoFaJdkXtwECWA6nrQyyB3BstS4ns/eaSRXrvKNkIi9glfln4fV+9TkCCooeq eMxQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k2-v6si21883119pgp.200.2018.06.07.07.47.05; Thu, 07 Jun 2018 07:47:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934955AbeFGOpF (ORCPT + 99 others); Thu, 7 Jun 2018 10:45:05 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:40730 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934407AbeFGOo7 (ORCPT ); Thu, 7 Jun 2018 10:44:59 -0400 Received: from [148.252.241.226] (helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1fQvbN-0005Zo-2D; Thu, 07 Jun 2018 15:09:21 +0100 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1fQvbD-0003H2-LU; Thu, 07 Jun 2018 15:09:11 +0100 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Sabrina Dubroca" , "Steffen Klassert" , "Stefano Brivio" Date: Thu, 07 Jun 2018 15:05:21 +0100 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) Subject: [PATCH 3.16 376/410] vti4: Don't override MTU passed on link creation via IFLA_MTU In-Reply-To: X-SA-Exim-Connect-IP: 148.252.241.226 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.57-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Stefano Brivio commit 03080e5ec72740c1a62e6730f2a5f3f114f11b19 upstream. Don't hardcode a MTU value on vti tunnel initialization, ip_tunnel_newlink() is able to deal with this already. See also commit ffc2b6ee4174 ("ip_gre: fix IFLA_MTU ignored on NEWLINK"). Fixes: 1181412c1a67 ("net/ipv4: VTI support new module for ip_vti.") Signed-off-by: Stefano Brivio Acked-by: Sabrina Dubroca Signed-off-by: Steffen Klassert Signed-off-by: Ben Hutchings --- net/ipv4/ip_vti.c | 1 - 1 file changed, 1 deletion(-) --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -359,7 +359,6 @@ static int vti_tunnel_init(struct net_de memcpy(dev->dev_addr, &iph->saddr, 4); memcpy(dev->broadcast, &iph->daddr, 4); - dev->mtu = ETH_DATA_LEN; dev->flags = IFF_NOARP; dev->iflink = 0; dev->addr_len = 4;