Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2322362imm; Mon, 28 May 2018 06:03:56 -0700 (PDT) X-Google-Smtp-Source: ADUXVKILSstBJwy/cEvmlEcrlaMIR0r12iq8VE70sM+PR/T88up2RF4JTASithbbFDRwCiKQTI64 X-Received: by 2002:a17:902:2966:: with SMTP id g93-v6mr1766478plb.250.1527512636090; Mon, 28 May 2018 06:03:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527512636; cv=none; d=google.com; s=arc-20160816; b=I9cohQIF6d1CNpIM+0c9HM2D2FxHPL4BcI8tlK0oMvCv2HnOc/tmkf2/r0HL/UmnYZ 8kCXncpgF9H+XSfISNYUSMvCvStZmp+DBkIoSvHXcN3dMnTSYQmMpOGuT/2qvX5VdaZi i0JqyzjCgegXtnIrvTumMuS5xkpKrALK1gXlrFHiQtwlpy8P3+zRCziysEutbqxfQkME lydspeFn3bcHNzIUUUOPTfQcXJTWvMKmn1i0WSIIF//FFjfGUfIDMl3ZKgz2HrJrkd6k 5ApVSLdcWy2Tekkdr1ydj6evqzXctEn6aks+YzmpahxkPTuracYcnQULL7GK5hQI+A5i FOdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=lAAy+NjqKudZFG/tAj8f9N5PboKkPmm9pblFmYkN6f4=; b=P95V0jBy6Fq0+epNgKAuvwpg5WQewqJWXyPh41azYKFviyw9SmwKmBBWQkogV/iiqt kaoyP4FWhGbMD5nwpsmkjUcYjrmAMRGjbWi07YAMZcPy/piNyj7W0fh3ArCpCW0vQ9z4 z/jFCFqyfA0sEYlJRYIEBnnNfgKp9zkkRCoUm8o1yCnOGHwzWdeOPbhfg8bXTBJg+Iph uf1cRF2teQR36gbmB9mh+e+iO5v1kz5epSOuc2c4s6w6LR7jlZcyXGvw6NAwzPnfrOra XUZGFXRBl3lCS30Tl5/GRHxCvKP45VO1pu6rLpVosBSu69Ze7zs6n+n3xYs9yQ0sxhdb 2EaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0bc0EK0H; 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 n128-v6si9933509pga.70.2018.05.28.06.03.29; Mon, 28 May 2018 06:03:56 -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; dkim=pass header.i=@kernel.org header.s=default header.b=0bc0EK0H; 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 S1164282AbeE1NCl (ORCPT + 99 others); Mon, 28 May 2018 09:02:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:42434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1164096AbeE1KxM (ORCPT ); Mon, 28 May 2018 06:53:12 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1978A204EE; Mon, 28 May 2018 10:53:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527504792; bh=b3z/+F8b0HD9bWwhINS86Yl/dRHlRkAmk5PX7EDBhB4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=0bc0EK0H4FUNB15o2QlzIuu0sJzsBQJOrLs1vmu8Gqe5jGLGB2ZAnvVtluAAgyLec tI8ylzIXbM2oZYd9HeFfIr8HqQijdflfLu4XXcBCIx2afxEe3uwXWpFJPgHIHsORTL XLPELZSXp+cN2EzMQq35drwVqyFmxlYJ3PvHhYs4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Stefano Brivio , Sabrina Dubroca , Steffen Klassert , Sasha Levin Subject: [PATCH 4.14 265/496] vti4: Dont override MTU passed on link creation via IFLA_MTU Date: Mon, 28 May 2018 12:00:50 +0200 Message-Id: <20180528100331.027308221@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528100319.498712256@linuxfoundation.org> References: <20180528100319.498712256@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Stefano Brivio [ Upstream commit 03080e5ec72740c1a62e6730f2a5f3f114f11b19 ] 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: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- net/ipv4/ip_vti.c | 1 - 1 file changed, 1 deletion(-) --- a/net/ipv4/ip_vti.c +++ b/net/ipv4/ip_vti.c @@ -396,7 +396,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->addr_len = 4; dev->features |= NETIF_F_LLTX;