From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=95.215.58.132 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793108707; b=4Kamc7TNCxSScxqmvQnMsW9tx/8yFRxhwxH4h7yZr+8Q1FRlJjGYcVCtcS5fHIyLYVgC GgS+x9dB1Y0Jx0MDyhpnZdyywIJ6kRBZ6y/Fk6dUK2avaiBo9ccvxTSeKcdnkqEKwYeGJ E+/7ce0mjYtQkoxTZARdZjvmqdnDrnLmdyA8kS0RSfAzH5UjKxamoB/JPNYIVNFkZNNz2 EQ7ZAv2K+Gr/5aeWT4NBs8SxFQQcSKNTA8qx40YhkT1n3hDGgFDLxSZ1vnWXux9kFIhjp jJZsGQOGKpZriE6AD83WVEudXoHUi2HF60xO+I193Vi313YgUCVWNRZUa8uUw04vGzQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1793108707; 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=C9vbDUrzNg7Q0UQxF/1AlCGj/ab5dAoLlxTOpx+qUaqtz0vUP6Wo9sDqEj+TcsrM0NEB NwbFS0iX+gj8fBTjCm7EhOd+4vaZq4y9HI8/HIV/AroZUrxzEg2QDg2cWtUO7XoaVGPif vcS4wg0jKBwR49GcdQlstuvY/DYklPX2IOcmbvujuK7u7SjnjMLhcILKAO3zP53VUCpPe /YOIQtzHIVcQvvydSBcHxZ0LuJfReE0iObF7Lh3vb85UBzFA2whAR6z0EBpRqIWLvQ5CB QXmZCb2xiFkK79vN8Chqiy264A0Vn+MeZoiVVvWa4o8Ez10UoohEQ4y2KyQEL8IOY5w== 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=QwXr001w; arc=none smtp.remote-ip=95.215.58.132 Received: from mta1.migadu.com (out-132.mta1.migadu.com [95.215.58.132]) (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 79541606A320 for ; Tue, 27 Oct 2026 13:45:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 79541606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev 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=QwXr001w X-Envelope-To: linux-kselftest@vger.kernel.org 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=1793108704; v=1; x=1793713504; b=QwXr001w6nn/Q+IYZqN6lAH940OXJ15yslwhMkAmfiRCXHN0pJaNCXr1F+MD/i9VM0ysKIqP IDd1JsKgoBOJMzJKsOawuVESspuHJdNoIqsNdUxNXoVrrTFbAFSsaGMGNu8iNPBCTf3+6qkpL29 iX9PIrAHBm/x7ONwBh6bwbS0= X-Envelope-To: linux-kselftest@vger.kernel.org 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 Message-ID: Date: Tue, 27 Oct 2026 21:44:53 +0800 X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net 2/2] Revert "net: advertise TCP MSS from the configured MTU, not the learned PMTU" To: Esko Mobius , Eric Dumazet Cc: netdev@vger.kernel.org, Jakub Kicinski , Paolo Abeni , "David S. Miller" , Simon Horman , David Ahern , Ido Schimmel , Shuah Khan , Thorsten Leemhuis , regressions@lists.linux.dev, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org References: <20261026-advmss-revert-v1-0-272fa4b7ecb6@gmail.com> <20261026-advmss-revert-v1-2-272fa4b7ecb6@gmail.com> From: Jiayuan Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 > > Thanks, > Esko