Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp3926121imm; Mon, 8 Oct 2018 11:48:16 -0700 (PDT) X-Google-Smtp-Source: ACcGV62lR2QwaSjiCf+7ARrCN5Hcd4etv3Z/kUJhYxpK11Fw/Zrgii7CBfI0MeH5GKPbADEKNorL X-Received: by 2002:a62:8d16:: with SMTP id z22-v6mr26274110pfd.185.1539024495998; Mon, 08 Oct 2018 11:48:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539024495; cv=none; d=google.com; s=arc-20160816; b=wNKPx+R3BpZxThMuCr6TpWZCU0Fj7Fw4bLAZkROBzH5+WAB9f7QDF9w3U+aAEoY3+t jDWE3ZypZr83fK/cG/S2P2iVvom1Pn2GWbEvSYy6RnbeQQBUcUlSprDTlC/su1ufhqFA RWV5nAmdu+lD63Y2Y7m1UxpNeQqoRXLir0jMyDrvZtO7zbg1/ciaXOMhvLWFha24Omur PsLSfTItv1BeKV5RVCrE4wElxHCb2tfzmEMKTD+C7cl0sadE6g4pT6isUkzqHKYNHLsI MAGBiPWEJghj94EdOmFVbpK49/PxZCH2ADowULEZVuF9wceU42cr4vkORyG1U4TeocvM tYBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EvjhFeVRZgJEVTWpNm6OtIU8u7AJ4CGIV+hnJaCm/9Q=; b=ZtRlyn01jPDP7PyCRBGUs3uM1ZBUZz/CAMrR9vsHSi1S6kwsv3k8FERyo8kIxYQ3Nh +wuHAJ8gIczN4jCSZT6uO9GaeImBeJOU/Kj/wUOds7jQKbe38g0OR4Go2GF2xL9Ba888 dT3uruXzcQQtv99n/zDYtmfWsv4+sM5D//L1sdZxbZlptW/4Z097MfsHeRVeBeAsO/t4 bU2KBYgFZAl+zFcZDfiLZo0AvLaFTmDYfZKgQV0V0P4rbfPcU1QBEuzGC/E6sFgJZUw2 itVK7lCCtnbjse7eT2FgEiR+cB2yzsSNHv7lJ7Uo6MKxIW1gBFuaiS56kprueTP73nw+ iKIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XWqXFMFB; 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 u5-v6si17296382pgm.268.2018.10.08.11.48.01; Mon, 08 Oct 2018 11:48:15 -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=XWqXFMFB; 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 S1731510AbeJICAv (ORCPT + 99 others); Mon, 8 Oct 2018 22:00:51 -0400 Received: from mail.kernel.org ([198.145.29.99]:49676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728239AbeJICAv (ORCPT ); Mon, 8 Oct 2018 22:00:51 -0400 Received: from localhost (ip-213-127-77-176.ip.prioritytelecom.net [213.127.77.176]) (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 B9C2121479; Mon, 8 Oct 2018 18:47:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1539024464; bh=uvOq+f2qzFX1323DWiIvuvx9MkFv1TvdEkkWOe/vAx0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XWqXFMFB/OO2+eFyHxkVOre/YxhcXg8r0o7JsaZQoGN1Eo0e2+/vMQ/wwTH6Ku7i8 KNV+bgvdGM3sFJKeFJZ1lGf7noY21LZJC3BhU1EmgCINwBuflh1Ww+Oin9raFdt3VX CZ0+S3nKxNxMkrM32QaillffMw6J9XZ4DIISM6Xo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sabrina Dubroca , Stefano Brivio , Nicolas Dichtel , "David S. Miller" , Sasha Levin Subject: [PATCH 4.18 048/168] selftests: pmtu: maximum MTU for vti4 is 2^16-1-20 Date: Mon, 8 Oct 2018 20:30:28 +0200 Message-Id: <20181008175621.882912284@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181008175620.043587728@linuxfoundation.org> References: <20181008175620.043587728@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sabrina Dubroca [ Upstream commit 902b5417f28d955cdb4898df6ffaab15f56c5cff ] Since commit 82612de1c98e ("ip_tunnel: restore binding to ifaces with a large mtu"), the maximum MTU for vti4 is based on IP_MAX_MTU instead of the mysterious constant 0xFFF8. This makes this selftest fail. Fixes: 82612de1c98e ("ip_tunnel: restore binding to ifaces with a large mtu") Signed-off-by: Sabrina Dubroca Acked-by: Stefano Brivio Acked-by: Nicolas Dichtel Signed-off-by: David S. Miller Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- tools/testing/selftests/net/pmtu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/net/pmtu.sh +++ b/tools/testing/selftests/net/pmtu.sh @@ -334,7 +334,7 @@ test_pmtu_vti4_link_add_mtu() { fail=0 min=68 - max=$((65528 - 20)) + max=$((65535 - 20)) # Check invalid values first for v in $((min - 1)) $((max + 1)); do ${ns_a} ip link add vti4_a mtu ${v} type vti local ${veth4_a_addr} remote ${veth4_b_addr} key 10 2>/dev/null