πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18160

Re: [PATCH net 4/7] mptcp: push queued data on passive TFO subflows becoming established

#18160
From: netdev-bot+sashiko
Date: Tue, 17 Nov 2026 22:29
69 lines
10598 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.

Low priority / nit picks for your consideration:

- [Low] The commit message of "mptcp: push queued data on passive TFO
  subflows becoming established" describes behaviour that depends on an…

--

mptcp: push queued data on passive TFO subflows becoming established

With TCP Fast Open, data written by an MPTCP server before the third ACK
could stay queued after that ACK, because the ACK carries MP_CAPABLE
without DSS, so ack_update_msk() is never called. This commit makes
check_fully_established() call __mptcp_check_push() when a subflow becomes
fully established on a passive TFO child (syn_fastopen_child), so the data
is pushed at that point.

Closes: https://lore.kernel.org/mptcp/CAFPPu1gU2Y-D+d4i3F0MoNkYK+e1U+=X3qf6QycjfKBw+8snPg@mail.gmail.com/

> Without this patch, and before the
> earlier commit "mptcp: arm the rtx timer if a push leaves data behind",
> this data was not sent:
>
>   server-tfo-write-before-3rd-ack.pkt:24: error handling packet: Timed out waiting for packet
>
> Since this earlier commit, this data is sent, but only when the MPTCP
> retransmission timer fires, here after one second, as the tests increase
> its interval:

[Severity: Low]
Which tree is "mptcp: arm the rtx timer if a push leaves data behind" in?

That commit doesn't seem to be present here, either at this commit or at
the end of the series. The following patch, "mptcp: push queued data on
subflows falling back at the handshake", refers to it the same way. Neither
message gives a SHA or a lore link for it.

In net/mptcp/protocol.c, __mptcp_push_pending() still arms the rtx timer
only when data was copied:

net/mptcp/protocol.c:__mptcp_push_pending() {
    ...
	/* Avoid scheduling the rtx timer if no data has been pushed; the timer
	 * will be updated on positive acks by __mptcp_cleanup_una().
	 */
	if (copied) {
		if (!mptcp_rtx_timer_pending(sk))
			mptcp_reset_rtx_timer(sk);
		mptcp_check_send_data_fin(sk);
	}
}

__mptcp_subflow_push_pending() also arms it only inside its if (copied)
block.

So in this tree, without this patch, the data would hit the "Timed out
waiting for packet" case. It would not be sent late, after the one second
delay.

Could the changelog say where that commit lives, for example with a SHA or
a lore link? That would let stable backporters find the dependency and see
how the two changes are ordered.

-- 
Sashiko AI review Β· https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261116-net-mptcp-misc-fixes-7-4-rc4-v1-0-bf7656de653e%40kernel.org
Technical Details
Message-ID: <179495458816.3136.11667924714644178222@kernel.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365674-linux-kernel-netdev=dewy.ru
References: <20261116-net-mptcp-misc-fixes-7-4-rc4-v1-4-bf7656de653e@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365674-linux-kernel-netdev=dewy.ru
From: netdev-bot+sashiko@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 4/7] mptcp: push queued data on passive TFO subflows
 becoming established
Date: Tue, 17 Nov 2026 22:29:48 +0000
Organization: Usenet Network
Message-ID: <179495458816.3136.11667924714644178222@kernel.org>
References: <20261116-net-mptcp-misc-fixes-7-4-rc4-v1-4-bf7656de653e@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2443556"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:q4rX47gY0TRh9DolgIDd3ToHie4= sha256:QJFpzVK+ZT7FUULuvRh9vI8noYXQkcgWdtdLNkYnvOE=
	sha1:PJpm/TIHAeH2LQum9Us+XpY0EqQ= sha256:zpB8zt+xx0xkZ/d7eCJprPDUnrc4NauTohItMBD9eco=
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 015401150D4; Wed, 18 Nov 2026 01:30:22 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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 oujEBDnB7h48;
	Wed, 18 Nov 2026 01:30:18 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365674-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id B6EDC1150D1; Wed, 18 Nov 2026 01:30:07 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id A20AF3C6D8; Tue, 17 Nov 2026 22:29:52 +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=1794954590;
	b=mRTH5KftAAjqTLyK5UhrGkfzlJgFW54XQGaHtV3JA2S58s/KKXLXaBFAKrBmBWToU12j
	 k1Rp2XA6deCpjGNFRrQ+4n5km5dzKJWnWwzlij8iTDl0o1sgRp2geWJuUmcjk+IdZ/9B7
	 WJ04tWIEr7cLQ/0tfoZ5kYKdlWCbMCP1ofCXQeuQG2kSHK+eghjaIY9SsFuzC/hH/XHp0
	 n/5c2treAEP3PvRQHBfIQ/iyzIri2BKDgcsePrYDJ8LDVD6f6zqIpqQaeMNypcTpapqnM
	 MsKIno1GQcAY54e75T8peHRzSqybaQQ8m6rBoFy5rvFuy9hKew9oc6v6ByYCY/i6WiA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794954590;
	h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc:
	 Date:Message-ID:In-Reply-To:References:X-sashiko-severity:
	 Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version;
	bh=qo8xXJc3Mp4P96fCJAZDQldRqGD5RCtuIUJWfIukpEI=;
	b=YUMiUM7bSQPkHJsMe9CTZFT1UIVjGe0j1Y3pvPHkdsv9XmPt/MYOBcErSiE4BlY5698I
	 CNMMYvncZrQDEPr9BgNpr8WB43mz8H9dAFAIpyU0fT2Bli3DKdntctvX6LbJKFz1y9KmP
	 AXaD9z9JUnKcrvRAjIi7Cs5uMEmwjVtdYyY1oPiOqd14ecD6/KwEknRGB4Btw5UZpirPv
	 4lPYPMRwSuhanSkYDyJGb3PanZqeiVBDK1rhg+W809mclCOwjrrgrSPCCuTSeq2YYNiBP
	 NdQ7Qj4OIS4v+t3OOJ9a26RWVavI0uaFtXk5DEJvhldx2EyWvRb8eS/G+C/l81JVdeA==
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=ZVOadpmS;
	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 51113606A897;
	Tue, 17 Nov 2026 22:29:50 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=ZVOadpmS
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=1794954589;
	b=pDJhPVMDLBycZ/aT1G99RripvJBDwvnqiK3n73X4cbgXO3GVoXRyrWj6GqNQk8+0Iyyc
	 f0Zrl38/lhwLqUQjopwxq+NfAO2W6YgCE+o2Il8FqFkfkiFE6FdZHH/iaP+ryLy/MW5Nw
	 COeFsb4pN8h2kjD+wIG8BAofUWidwt+/eSzt5KcoYZPOjj+tLLQk3nVrfY7xH9xhQNLOt
	 RE/s/+0AwUyu61j5coTDbubsuZw8LqZsygk4kt0x9HY6n2gSYHkjSivHEAABmGJNW8yZ7
	 u/qpry4IE5MgUld5i+zzMug4HJLYm5S0551Nnv92girms2UG23DkgZZvNzSv52K3ykg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794954589;
	h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID:
	 In-Reply-To:References:X-sashiko-severity:Content-Type:
	 Content-Transfer-Encoding:MIME-Version;
	bh=qo8xXJc3Mp4P96fCJAZDQldRqGD5RCtuIUJWfIukpEI=;
	b=5ocrgO7z4aENtkX+orWKjd56cQk9yfBIRddQfCE/CkGe3VAYy3MKpZvfRdgKp/osWZhw
	 2iojTrmwK9X+jJIUA2KsKIUZpSaBIhLQIqh/gTsVl/FuasQ9ucTPbi+Ab5vZ/zC2Hoh4J
	 +jPfV06K6d9Jt9zzocS5kpCkS3GbaeD72aDgDQ7bA6cp+fVV0GVUrXjxKG7+n8pxLvXEc
	 /mula0ohqiaA/01JzuqYDz5rUFETe5xJEWf/YNnZJwSHXhttq82vsPHg4zmXNUMpUtGsL
	 gmYVPDBVIedw1wFO29cnT4VuzhoadL8k2iz+8/TB/kMCdB7ihpN5sujwFXDYDinjceQ==
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=ZVOadpmS;
	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 71623606A880;
	Tue, 17 Nov 2026 22:29:49 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8EEDC1F000C4;
	Tue, 17 Nov 2026 22:29:48 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794954589;
	bh=qo8xXJc3Mp4P96fCJAZDQldRqGD5RCtuIUJWfIukpEI=;
	h=Subject:From:To:Cc:Date:In-Reply-To:References;
	b=ZVOadpmSJvAnKfgiRjhCC7Mev2RiYCfRptFlRb/5Bqj4SUbKOfmyhY+jbTPLc39kf
	 BAFdhWWo8saiz7w7XTtA8l6OwkFuxiq0Ql4bDQYUUbS+RclR1fDFCknHnInlurMohL
	 ZUbr5kpOp2bDm8EJlheX/ptuKigDUgSNNdFGaMK0YFtD4SNtzsRxqBshMGvhYKDsxq
	 joW/t+CC+G7fSOd4iaEtY4ZQ6LdvvS43jaIvow+RN0Py4J/3j1Y8U1/lf2YLxxCYLS
	 HPP/FL+mSgpA6oojLp8EudUM2viN+QxHw86vc24BXRR+DUSFt5/GjyMG7PM+x7sV+k
	 gVOeHVXlcgpBA==
X-Cc: martineau@kernel.org, geliang@kernel.org, davem@davemloft.net,
 edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, horms@kernel.org,
 fw@strlen.de, dmytro@shytyi.net, netdev@vger.kernel.org,
 mptcp@lists.linux.dev, linux-kernel@vger.kernel.org, stable@vger.kernel.org,
 mason@kernel.org
X-In-Reply-To: <20261116-net-mptcp-misc-fixes-7-4-rc4-v1-4-bf7656de653e@kernel.org>
X-sashiko-severity: Low
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