๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7502

Re: [PATCH net 0/2] Revert advertising the TCP MSS from the configured MTU

#7502
From: Eric Dumazet
Date: Mon, 26 Oct 2026 13:28
35 lines
10467 bytes
Le lun. 26 oct. 2026 ร  08:23, Esko Mobius via B4 Relay
<devnull+echoowall.gmail.com@kernel.org> a รฉcrit :
>
> Commit 2640e6419594 ("net: advertise TCP MSS from the configured MTU,
> not the learned PMTU") breaks TCP for clients behind networks that
> filter inbound ICMP, when the server reaches them through a hop with a
> smaller MTU: the handshake completes, then the connection stalls as
> soon as the client sends full-size segments. This was reported in [1]
> and confirmed on 7.3-rc7; reverting the commit on top of 7.3-rc7 fixes
> it. Details and numbers are in patch 2.
>
> The asymmetric (DSR-style) case that commit targets can still be served
> by the existing per-route advmss metric, which overrides the default
> after the revert; patch 2 includes a test of that as well. If you would
> rather keep the new behaviour as an explicit opt-in some other way, I
> am happy to test or rework this.
>
> Patch 1 removes the packetdrill tests that assert the reverted
> behaviour, patch 2 is the revert itself.
>
> [1] https://lore.kernel.org/regressions/4F0FAEB6-A13B-47F3-BFF1-C706686C6F64@gmail.com/

Reviewed-by: Eric Dumazet <edumazet@kernel.org>

Even if the reverted behavior was closer to RFC 2923 / RFC 1122, it
was a long-standing
user visible behavior and should not have been tagged for stable.

Relays should really clamp MSS (nft "tcp option maxseg size set rt mtu"),
but a revert is the right call for net and stable trees.

If needed, the asymmetric/DSR case can be revisited in net-next as an opt-in.
Technical Details
Message-ID: <CAL4WiirsfX-j2uP0HWq4dSPGK15N9GqjY6yz+fMFKreo=1MR7Q@mail.gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351915-linux-kernel-netdev=dewy.ru
References: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-351915-linux-kernel-netdev=dewy.ru
From: edumazet@kernel.org (Eric Dumazet)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 0/2] Revert advertising the TCP MSS from the
 configured MTU
Date: Mon, 26 Oct 2026 14:28:47 +0100
Organization: Usenet Network
Message-ID: <CAL4WiirsfX-j2uP0HWq4dSPGK15N9GqjY6yz+fMFKreo=1MR7Q@mail.gmail.com>
References: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="1313874"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:HexR7/M9hqY1VFEwIGICkgWHVps= sha256:25Iwn+PtvaeRNZO1k0ICupR9SI6v1RsrYJhI7csBeH8=
	sha1:qdk+WEJG5DYanU2mUNfWJDak/2k= sha256:HYOWgyX25LWRSaS1Fd3c7P92iQRyuKDYWOKa/7ClDGE=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id F2830125BA8; Mon, 26 Oct 2026 16:29:39 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.739
X-Spam-Status: No, score=-3.739 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.339, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 7fwfutuqmpFP;
	Mon, 26 Oct 2026 16:29:35 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-351915-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 653FA125BA6; Mon, 26 Oct 2026 16:29:26 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id BBB86273A7; Mon, 26 Oct 2026 13:29:02 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793021341;
	b=qM4eauoa/S3jyZcLPdqrFgX8QpU/Oj6BxUptZ9Dm7ML9M6Gy2+/WK4AnKJu5X0iKaouv
	 53wH5GJfDLL0y4n5Mg6AZy2irjIeAChQRAIHneRanSry5q2yd1IDfN6IgTTjcDYt3ut1f
	 dFxkkO9QUeNrruP4rtJjr+LkhTGdrt/+mRD5ZVlmLCFcxhewNOIjsogbmC7iWprSN9dxp
	 x5vINUeylcHgfzNYZXGAPzBE8DSLzZ1ABfWKhUDDWqW9+Vl1zQJaOSrzGkjt7uGKIiFjl
	 GRhqPruKNAO9EFG9zxubdKIjsRFFJN6XE1cWW61bqL2WnhLn9Px16Bt735Jtzcb3YLA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793021341;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:
	 X-Gm-Message-State:X-Received:X-Mailing-List:List-Id:List-Post:
	 List-Help:List-Subscribe:List-Unsubscribe:List-Owner:Precedence:
	 MIME-Version:References:In-Reply-To:From:Date:
	 X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=04ULgjusWlSg32LjKqce99PoYE98Nn7GHteRBpuo00o=;
	b=4Sm2VWNHFHlrIpMsYSaWEA+uiTIQHmRF10xZM6z9P9cyvRPnZRz4qEk76ADPpDeIUii0
	 aANZq/t2JCiPmtV1OOepsueEtHYV7uglkJ8qJSKkv3rD6Yih5py9iDUmVAIQpw/oV+GbX
	 hnRgvLIObkMG5bknlXboSzy0BrYw4CwekMA9+wdCe5BDRFMPCO4DnZ9RDCm1h4iNH2f9/
	 G7NWVnkJXxBmBcv7mlITfBMDFcFsNP/S4nzIC032p2OpFdCldsvztW8nsCLu89q3y+chD
	 ecmwBe+U/AT7+AAzHO/h1vFmx86I1HbL00f7o1KribHG/FrQ6wFwnMXQugINvUNwpRg==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kMnAFsYT;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 28F89606A335;
	Mon, 26 Oct 2026 13:29:01 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kMnAFsYT
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793021340;
	b=xEv7F2+TaTc0+udbW+kttWI7mtUulaDtCU6dr4zBOR2W7WIxp8yQ51hk0el96hG/vFT5
	 7hpMmZ5uiYbo/umE0iBTiKsdmcAy1wvreEdOUtWGyPpkyI8rLq/DvS9j6tyEqeVEmODWi
	 wFv9nw2sz/Kl1sF3uOqc76F9k5y/q3+yRI6oCepz0LCAYvFUfzfzrFcfjvPODSWb/DcES
	 5gwoOS8wmui4H1/NFOK9+L/DTroQuihPFLpBdwNp5hH1801e7WjtcJTVUSn2l7icF+9af
	 GYqZBYVuH4TLvTHGrlSZpwVHOZ9Qbr4hkqKAvWhF0DXNIFS9/Fb6W5kwPcwPifQK2Dw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793021340;
	h=Received:DKIM-Signature:Received:X-Gm-Message-State:X-Received:
	 MIME-Version:References:In-Reply-To:From:Date:
	 X-Gmail-Original-Message-ID:X-Gm-Features:Message-ID:Subject:To:Cc:
	 Content-Type:Content-Transfer-Encoding;
	bh=04ULgjusWlSg32LjKqce99PoYE98Nn7GHteRBpuo00o=;
	b=1VKkrS5zXESPPE/tc/tgw4+MtviqszWnGhCLQnfDGDJ+tu1JLu/4ZwnCWk+yYxM/tZfy
	 rcswmCE2EXRZ445P05SDHRflA0s0e32kOSgeNoroXX92fH8jnexlc7L7+jAfWRPCIRjAx
	 sjOuzq/BA+XxwJze43frOZPz0b8gsvoBas/VeAXJyAfQ+KJ4BkomuboWuJzlTM4S1tPel
	 eAPRWLf8Yam23G9AOd+akD9vQ8pHCFwSQTNjNTulfcZH+ZhRfExbglosGaoOrBr+DCStj
	 QGDTojCFC6WFMQeTyPAbgzlMfuEQ7EfuUC835fASmqMSVrWBRF+sj0Yzmx8akiHFudA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=kMnAFsYT;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8523E606A31B
	for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 13:28:59 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3076B1F031EC
	for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 13:28:59 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793021339;
	bh=04ULgjusWlSg32LjKqce99PoYE98Nn7GHteRBpuo00o=;
	h=References:In-Reply-To:From:Date:Subject:To:Cc;
	b=kMnAFsYTdeRlFlai4nhvqWF9NBW4YEJ6tnFv7BHj8vOhHyZHx8nm0zfckOofb/EHe
	 sA4kA8Yhyp5kwQg3lCKaHqbVjc5os9XfGijBFc4v+74SH/u10UrLDcbwASf73DX5Qa
	 L5Df3QZUZnywZIXm8py9ROWJGl67ZBsokPP1gpgERoNwf4BhqAs2qez7RtWiUhBGAy
	 wTpLAH6EgUXF2cU7QSSkIzbyv8/pI3qPp9AZN7iSTUi3xo6mang8Og+ObyTczfVPcI
	 7IZCNAuxk+txSpxzOBmU6KhVeKr/yW7kQ3EjbhDMGZw8+ZBl/2F8kUvW6dne22qjz5
	 iyF9xWG3kQW2A==
X-Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-483d290f398so1735023fac.2
        for <netdev@vger.kernel.org>; Mon, 26 Oct 2026 06:28:59 -0700 (PDT)
X-Gm-Message-State: AFq9FYKoJX+UMOdfYem/8JxFJPlE/ijrtwjqVRYe5iyhsAluaco38kFG
	oM7lbDdgp5i8Z/Iqd0VUgfhLjFsL1ot5QvKiwGJ7qwblEhsS2JystV8L3UNDK8Fwmuqau1LRsRG
	BlPEdRRA0QWdoaOLyTKXGcoi5/et9/Bo=
X-Received: by 2002:a05:6870:3c89:b0:4a2:4c6c:c9bc with SMTP id
 586e51a60fabf-4a83f4eb527mr4042375fac.19.1793021338390; Mon, 26 Oct 2026
 06:28:58 -0700 (PDT)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com>
X-Gmail-Original-Message-ID: <CAL4WiirsfX-j2uP0HWq4dSPGK15N9GqjY6yz+fMFKreo=1MR7Q@mail.gmail.com>
X-Gm-Features: AclHuK_7Y8Msockoq5cYfVUJitRoh-SWV4M7WKxBOBmiLFfT1caFqcdtwGCa_Us
X-Cc: netdev@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>, 
	Paolo Abeni <pabeni@redhat.com>, "David S. Miller" <davem@davemloft.net>, Simon Horman <horms@kernel.org>, 
	David Ahern <dsahern@kernel.org>, Ido Schimmel <idosch@nvidia.com>, 
	Jiayuan Chen <jiayuan.chen@linux.dev>, Shuah Khan <shuah@kernel.org>, 
	Thorsten Leemhuis <regressions@leemhuis.info>, regressions@lists.linux.dev, 
	linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, 
	stable@vger.kernel.org