Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2172815imm; Mon, 28 May 2018 03:11:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqNEjZsMURf1NIercKjB4VtPPo4dAKfPuhuCTtPzwo1NRMD5b8H7xnKlsrfPWgB2MLCgDan X-Received: by 2002:a62:ea1a:: with SMTP id t26-v6mr12928638pfh.117.1527502299480; Mon, 28 May 2018 03:11:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527502299; cv=none; d=google.com; s=arc-20160816; b=tiCOF6QkzDbSBh0S12MxbErDsasFtpCd51l0RrfnUmyvXb6vl247PLzD+iwUAWUtvy IPlZtv3MSG4qkZ0pyQvsPzNLZeFQH+42EcwfWffV+BgBJGaEzz3B/3fCF6LMUldux+30 az9j2UXPzv2KtuIYz7e6KbjkjNpLfaNMqaVFFkZrl8QO3ogzVP0+MC+ST/+43b/gx72t fzb/uwWuRpDwgxcSVLeFUihJO25IAQVLCffWx0CCyK3UgglMQwRokmckMlSK27LONaA0 nVF40cNlh6+JJe4btU29evKvWZNirECxK5Bgi+xePDTThhgkPIzjvwUxqrR94TYMWfYO RVEg== 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=VB6dFjJR0rRirY9jlYEVaVy4gXFXooke59xmSdK2Tlw=; b=O8AB02KxvDkHmFh5nvKQCdeDaEl8S1KBlRp10t5tdfW5GLkbS7e/wdI89zVcRqgJvA eu5OvMmrDgbGWuoNokR9bbVDu2pmr9Y1fGK6EJdfegSu04gFabw96fXqV0REw+uBF/QY JPuyUaNgGfiF7MRN7xLl4cvbL1dtr/PHXppF1Ji/Dz3976Y2GdfsG+QWQb/M2HZre0aG qJ6n3m5h8iNUCJV2mJe+BEMulZ9Y5AGxnRlZpPmDYw0pT92ed6ViI9gVjZeI7e/dJCgn 8TRvpSTRxFxeVmubwBbRQkEqqUQNMaVwJ+r5wuU5DAxp2dYyqE9ONe+6oygFMWkdysOT fX5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=CwKZEcVP; 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 w13-v6si14838785pgp.195.2018.05.28.03.11.24; Mon, 28 May 2018 03:11:39 -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=CwKZEcVP; 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 S936453AbeE1KKL (ORCPT + 99 others); Mon, 28 May 2018 06:10:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:58100 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936428AbeE1KJ5 (ORCPT ); Mon, 28 May 2018 06:09:57 -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 E191C208A6; Mon, 28 May 2018 10:09:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527502196; bh=SG7Qdfuhv0fKYQmt/uwrGT9qS/GDR9Kzcew1JTIoAJM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CwKZEcVPAnCEafzXc1tOd+NEaoeZAt0kq7Koq08Y1djQczUymWz+Sbsl9o6d55Q/j yOLoqCIJR6gF23oj2UA3z5x6uzun6rNhVWQXeKuvzFDI1BixAc+i6qu8hljGj0JDmA HOdO1aO4Ln6jYy6n7vGUROYzUpAdbYQye5Rbe630= 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 3.18 097/185] vti4: Dont override MTU passed on link creation via IFLA_MTU Date: Mon, 28 May 2018 12:02:18 +0200 Message-Id: <20180528100059.256948895@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528100050.700971285@linuxfoundation.org> References: <20180528100050.700971285@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 3.18-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 @@ -365,7 +365,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;