🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #7924

Re: [PATCH net 2/2] Revert "net: advertise TCP MSS from the configured MTU, not the learned PMTU"

#7924
From: Jiayuan Chen
Date: Tue, 27 Oct 2026 13:44
48 lines
10541 bytes
On 10/27/26 9:12 PM, Esko Mobius wrote:
> On 10/27/26 1:45 PM, Jiayuan Chen wrote:
>> This precondition does all the work. The server only learns the PMTU
>> when it sends a full-size segment itself. [...]
>>
>> Please re-run the 6.12.107 case without seeding the PMTU.
> You are right. Without seeding, 6.12.107 stalls the same way:
>
>    kernel        PMTU seeded   SYN-ACK MSS   1 MB upload
>    6.12.107      no            1460          stalls
>    6.12.107      yes (ping)    1416          OK
>
> My reproducer took a shortcut there. What it should have modelled is
> our production setup, which is the masquerading relay you describe:
> the clients share the relay's address, so ordinary downloads by other
> clients keep the server's PMTU entry fresh. Modelling that directly,
> with no artificial seeding (cliA downloads 1 MB, then cliB, behind a
> firewall dropping frag-needed, uploads 1 MB through the same relay):
>
>    kernel        SYN-ACK MSS to cliB   cliB upload
>    6.12.107      1416                  OK
>    6.12.111      1460                  stalls


Thanks Esko for the testing, and Eric for the explanation. Agreed.


> So I agree it was never a designed mechanism, it is the side effect
> Eric describes. We have since added MSS clamping on our relays.
>
> If it helps, I can send a v2 that describes the masquerading case
> instead of the seeded one in the changelog. And I am happy to test
> the net-next follow-up on this setup.


No need for a v2 from my side, I just wanted to confirm the actual scenario.

I saw your report earlier but was swamped and could not get to it in 
time, sorry about that.


Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>

>
> Thanks,
> Esko
Technical Details
Message-ID: <f5c6c08f-2978-4c45-b8e3-91f0509b459f@linux.dev>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-352459-linux-kernel-netdev=dewy.ru
References: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com> <20261026-advmss-revert-v1-2-272fa4b7ecb6@gmail.com> <e25fd292-5391-41fc-a324-0ec260828415@linux.dev> <CAL4Wiip=TkP2hmOFR-1Y-CU4rYHY_q=TBDhK6RmTj9UEMQ95Gw@mail.gmail.com> <D438C59D-09D4-4008-9240-18DA0ABBDCEA@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-352459-linux-kernel-netdev=dewy.ru
From: jiayuan.chen@linux.dev (Jiayuan Chen)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 2/2] Revert "net: advertise TCP MSS from the
 configured MTU, not the learned PMTU"
Date: Tue, 27 Oct 2026 21:44:53 +0800
Organization: Usenet Network
Message-ID: <f5c6c08f-2978-4c45-b8e3-91f0509b459f@linux.dev>
References: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com>
 <20261026-advmss-revert-v1-2-272fa4b7ecb6@gmail.com>
 <e25fd292-5391-41fc-a324-0ec260828415@linux.dev>
 <CAL4Wiip=TkP2hmOFR-1Y-CU4rYHY_q=TBDhK6RmTj9UEMQ95Gw@mail.gmail.com>
 <D438C59D-09D4-4008-9240-18DA0ABBDCEA@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1549232"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6jUdmpUR3/E6l8HIlf/S9V/ubsU= sha256:RsDl8BAgvsH4y+LlumRF2nONlVyCsLFkxHf69fq6Neo=
	sha1:aWDd/zP8+hJIPiuqOAE8Pv9U9WE= sha256:wZY2GI4SibhIhustzkhDI6lWvug31Ytd7/LNGNOXq8E=
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 19F6E125C01; Tue, 27 Oct 2026 16:46:59 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -2.05
X-Spam-Status: No, score=-2.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
	HK_RANDOM_FROM=0.999, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (1024-bit key)
	header.d=linux.dev
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 Q_sbGaVYM4XH;
	Tue, 27 Oct 2026 16:46:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352459-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=linux.dev
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id CB49C125BFF; Tue, 27 Oct 2026 16:46:45 +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 5D0C82E673; Tue, 27 Oct 2026 13:45:08 +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=1793108707;
	b=YafILQDudKhtLxGX7eTnhRLPmSm9kml//TbZqFfMlRiruQvZ3eIWZdHrKgVLtqAIRNfa
	 GBHBpDATEPMn0q6EFwefcInRx9hmy6tne568XnUNbj9MlpH6290bhZnI1HbpEQzamZdBN
	 36KF8qt70ATy9uM0yZfL5aPv+mr47Xw+44ZAc9CK/8HaTImZ2BxS91IBwgBOkrbhhxax8
	 13RikpcLLcAXsn7BnOHQ+VfjRRn8uThtI15DPnVWS3IJnLvZ4Pon52bLcK+Qol9LT/2Tx
	 StLRv1CZT/IfTuieTAPQU9HbatOjq9JTxQzIbGSBurRyaQSanfiUIHUsVjXigiZCYdw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793108707;
	h=X-Original-To:Received:DMARC-Filter:X-Envelope-To:DKIM-Signature:
	 X-Envelope-To:Received:X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:User-Agent:
	 Subject:To:Cc:References:From:In-Reply-To:Content-Type:
	 Content-Transfer-Encoding;
	bh=+zgFas+4hJZZwgPEJMUzFoGVQwC5WpjC0swXnGqt0W0=;
	b=O4cw9yCA/1RzArJcR0c7SCUqBpiZN/lBpkT9+nqIPG/P6VclXUaw+OokQa7IHQouPv4d
	 6N6T7k7GQY4P5CKSNQ+z/7FL5BTLu5nT/169UtT7vOHVjKouqmIFoSlxB8mJethuJiB3v
	 h5ZfEt/Ck+Vdt0/CrxJRyGc7zfD6XgVl8CF43NXjcXC0wYNBztM0qcRCQHeL/7SGaClrl
	 4u5a1WmrSugcG9OLRpGJZoHjD6ThQB5rCQlAmH+/A5H/zmrt5aG6wl/OFsp4DjSrcIssC
	 4OgpThRuRBm9lvzQvK44eieOr2E4x5CbZUaFtR9Jw6tVUS5AEz2q4zI0HMAAZmGq92w==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=aevUmP1E;
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	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 429FD606A325;
	Tue, 27 Oct 2026 13:45:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=aevUmP1E
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.227
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793108706;
	b=w4USpQyKWZwX9fWcjarpe1QL6pvcKyvTrfIkgzNPBPHVgl9SgPcEVzmPC0qhE7BulwkX
	 BV6daL8NXd4of17x8l1KcugyllxNFt0g50aQnVXLxWLwlBfsGm+hI/oBWJgPCVHLvhEU6
	 2fMx9tAQw7nRyZL+7Rm7oDCZczkGiBOHkFLlE9alHG4Z/FgmWJpCLtFLFRTP5NdmJAED7
	 QMpq9gqJ26sSp62mPVy0D9nGp3oq/gE3qXUg7AD1jrpHAtS5HhT7HhovFpcLLCbsBhBuQ
	 82BBe6dSC4XF/WT6h8uOnauo5VTOE4FOZpvrAgNdNcvfFV9U0fZH4rW2979kNv8kKlg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793108706;
	h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received:
	 X-Mizu-Trace-ID:X-Migadu-Flow:Message-ID:Date:MIME-Version:User-Agent:
	 Subject:To:Cc:References:From:In-Reply-To:Content-Type:
	 Content-Transfer-Encoding;
	bh=+zgFas+4hJZZwgPEJMUzFoGVQwC5WpjC0swXnGqt0W0=;
	b=DX15YlqFybl0Mmie+ChHAMim12lhzzyOqPcZHa7Lypc99z9IgBa+ky24qp/3vWniaotV
	 dnU3OLOgYxepaYYf26hLY2ecjsmV1BuG/PqoGUhNPIrNyyszET7RMAW7VpFGqbvnwLssk
	 l9wKioyJFEUbbyRKFU+Edp2QGW5dpDk+DUdAp3e79fDaMJsi7rXvzT8KN5s4Daq+6MCdG
	 aDsfd0ZOUnFbTLlH5eZA9i4Dq6aMp//hKal6OtdhSR6n91Y8x7eRQQVsKCLDR8OB0tYDe
	 gxgPLTFLgW2i4RN04fEdMeH7kyluqB3H+WfOyU+eRC8UlP9Kr+QQsTSdcFTFMvNZbrQ==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=linux.dev;
	spf=pass smtp.mailfrom=linux.dev;
	dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=aevUmP1E;
	arc=none smtp.remote-ip=91.218.175.227
X-Received: from mta0.migadu.com (out-227.mta0.migadu.com [91.218.175.227])
	(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C09CD606A31D
	for <netdev@vger.kernel.org>; Tue, 27 Oct 2026 13:45:05 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org C09CD606A31D
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev
X-Envelope-To: netdev@vger.kernel.org
X-DKIM-Signature: a=rsa-sha256; bh=aWAzItW6Ln/bOAVvVXsGvaelikw5SSSjsKUtt55BHao=;
 c=simple/simple; d=linux.dev;
 h=from:to:subject:date:message-id:mime-version:content-type; s=key1;
 t=1793108703; v=1; x=1793713503;
 b=aevUmP1E+qeSYvFJ2KQi47ut7Muf9TyYC2Elimi2ZcYxGcHN97rwDzMVkkK/6EhT1rIDqSJt
 +apTE7aRIzMjtFhpIgm6ogDUDcqc7JoZkm3/tuPuXUcmHhbs40D2ZFeo10a0gQDPyEqQ7ZTlk49
 mZmr7QL+ql4XvusL8KuMmRAA=
X-Envelope-To: netdev@vger.kernel.org
X-Received: by smtp.migadu.com with ESMTPS id 17da54f9e5b41fb1;
	Tue, 27 Oct 2026 13:45:03 +0000
X-Mizu-Trace-ID: 17da54f9e5b41fb1
X-Migadu-Flow: FLOW_OUT
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-User-Agent: Mozilla Thunderbird
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>, 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
X-In-Reply-To: <D438C59D-09D4-4008-9240-18DA0ABBDCEA@gmail.com>