From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.235 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1793108707; b=1AOUvIgAk+HEMUwycbMOc5jqN3dG/JKlddnoIqNlxHj45byXbH4t/cCqfE8ioAgjnbo8 tFgS/yZpAzQGapYUyZ84tgMEBWNB1iRGFrrvehOCCJzNgqZwqyBsMRnFlCwfvr1iRBt8+ eefGsKjV8+k7/NwmD71JXpjxaQ5kJgVFwqoZ9NwUxKqRQwEveKpBt+srVgx1dN4kwe1dQ FEDXgDat669UupcK8ypP6BDGghEuOrEC8m4ml3PTMFsYW8ETz2w/H3DaB5Tw9rNB+FZ5Q RxAN4QKtF9qy6LFPwl7AVmhVH1uNC74bI9AJomVmkfW7N5fgvC2EsE+Eipteq7D3ymg== 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=q/k2YRFlPpugwyCD7SE5/SzTr7HU7of2LZSrxYxQhHOnJClgufL5UwdqmpUstoXOwoq8 fU8Z3SjSHACphH20Hb2p5fr3orycWEFywiJZXmDU9q+PYKm2lwxCGdgDxafPCH/d10+4n NAItb4jn87CoMd4KF7yutvMznzZn3F4OREY1s6fs5McGlaKVRQfpOlXTaPVFDVrFO4KxO /6MGvOGMZ3zWWiNy3umdgwE2kDY+o+SfD3WJ+g2TLdlm6lTUKpOjZFT6X0rOy375WXY/L nKSSDdU6QkF44QjoWU6qErJo+FzUWxd/StkkuZU2hR97flknR33QjqCUJMPv1VBXd1Q== 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=91.218.175.235 Received: from mta0.migadu.com (out-235.mta0.migadu.com [91.218.175.235]) (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 5A98C606A31E for ; Tue, 27 Oct 2026 13:45:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5A98C606A31E 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-kernel@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-kernel@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-kernel@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