🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #598

Re: [PATCH] mptcp: push queued data on passive TFO subflows becoming established

#598
From: T S Rameshkumar
Date: Thu, 08 Oct 2026 10:05
23 lines
9050 bytes
Hi Petar, Matthieu, Mat,

Thanks for the feedback and confirmation!

Indeed, since the bug predates e00b63056fb4 and exists back to when server-side
Fast Open was originally introduced, the appropriate Fixes tag would be:

Fixes: fb7084501a61 ("mptcp: add support for TCP_FASTOPEN sockopt")

During our testing with simulated network latency in namespaces, we also found
that when the 3rd ACK arrives:
1. check_fully_established() marks subflow->fully_established = true.
2. But within tcp_ack(), the underlying TCP state is still TCP_SYN_RECV until
   tcp_rcv_state_process() sets it to TCP_ESTABLISHED.
3. Therefore, invoking the push in subflow_state_change() ensures the subflow
   is recognized as active by __tcp_can_send() and immediately flushes the
   queued write buffer.

I can send a [PATCH net v2] with the updated Fixes tag once maintainers review.

Thanks,
T S Rameshkumar
Technical Details
Message-ID: <20261008100520.104205-1-rameshkumar.t@phytecembedded.in>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-342879-linux-kernel-netdev=dewy.ru
References: <CAFPPu1gU2Y-D+d4i3F0MoNkYK+e1U+=X3qf6QycjfKBw+8snPg@mail.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-342879-linux-kernel-netdev=dewy.ru
From: rameshsv06@gmail.com (T S Rameshkumar)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH] mptcp: push queued data on passive TFO subflows becoming established
Date: Thu,  8 Oct 2026 15:35:20 +0530
Organization: Usenet Network
Message-ID: <20261008100520.104205-1-rameshkumar.t@phytecembedded.in>
References: <CAFPPu1gU2Y-D+d4i3F0MoNkYK+e1U+=X3qf6QycjfKBw+8snPg@mail.gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="850981"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:4BQzsG0v/VB/CMIYXth3d4Yis4E= sha256:ANmGOru6K2ArmR7RlnnnloE70axJcycBTpK0rRsAgM0=
	sha1:+z0W88ocLpKfLtqbqusz14WwTng= sha256:Fizx0UeN7D+g/gapvRdIjuZVJzXat5jrXLJvNtioKzE=
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 6E9C510F38D; Thu,  8 Oct 2026 13:08:08 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 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, FREEMAIL_FORGED_FROMDOMAIN=0.001,
	FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	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=gmail.com
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 LBPpAKP_69ct;
	Thu,  8 Oct 2026 13:08:05 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342879-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 4DB0810F338; Thu,  8 Oct 2026 13:08:02 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 3863623C82; Thu,  8 Oct 2026 10:06:35 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 0993A3D1CAE;
	Thu,  8 Oct 2026 10:06:34 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="itEQ3qF1"
X-Received: from mail-dl1-f43.google.com (mail-dl1-f43.google.com [74.125.82.43])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id B68131C3F0C
	for <netdev@vger.kernel.org>; Thu,  8 Oct 2026 10:06:32 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.43
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791453993; cv=none; b=tpOrm0kusWr9/qlV9QKHaYhTONN4E8kxdDO/sTyZXDaykucLzGhdGaA7usW/Oc/tCzTz0vPbWXDZlhciK1V37muxKQGCrk28PU2zmcTW0Q0S0jO9ewg5xbTwJE3boU+/Xz7PQaOPne8x+W7GdFl4PxTMnZkPNO9R8vpcNNuZAJY=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791453993; c=relaxed/simple;
	bh=JWj1nuzQ35N6wDOjwCmlhSw/qBTHjvsrFfWUXl3xZZ0=;
	h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:
	 MIME-Version; b=DCofWgrefJ5X73+0lDrBzvLfpHJaDXfWCWVcO/J+fCCfhPD5v3D3cFa/s5bNV5xDOpdFiO1U1bIf1FFRp1iF5LuVy9Iz6bMV8qbDn214TYImnxladvM+i7r41hJ7LIMVNZOGzqZC7G1erxlRDDRFVn6ONVJ/y+15VD6EDM2wR9E=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=itEQ3qF1; arc=none smtp.client-ip=74.125.82.43
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dl1-f43.google.com with SMTP id a92af1059eb24-154e9d2d979so2985411c88.1
        for <netdev@vger.kernel.org>; Thu, 08 Oct 2026 03:06:32 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20251104; t=1791453992; x=1792058792; darn=vger.kernel.org;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:from:to:cc:subject:date
         :message-id:reply-to:content-type;
        bh=eCf6grt46A4djzAcjuzxJT4IZiodM5ZCyPT424FBF2c=;
        b=itEQ3qF1S17+BeT8nUNlD3RSVNUSW7LqSreVag4odzNPR4caEk2KX8LIMjnyB4XQ/A
         rx7VMmX0oGGzC9nM6HS19s+ckSQw1jmUm0EPPjAIS2kUgiyvF9Z/uL8RLKkkMicEUr2P
         QU/3CgOdKA7sln7StajzTyWutALd7gRJtpppY4zN2onlqHzb+DLaK9Hi57oKITkNX216
         18uv4G2HAHrHFW/1XvsdAut+9OwphqchICqgGqBMwtsIPPvP6tAX3i0QDJbY+33pe0il
         54HKN6nZCQzA53Qg23VBfzAzGu4dyKk0ecMKk6dJqcTs926UPXgnM/mJaiJlqMdnOrXb
         qQwg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20260707; t=1791453992; x=1792058792;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from
         :to:cc:subject:date:message-id:reply-to:content-type;
        bh=eCf6grt46A4djzAcjuzxJT4IZiodM5ZCyPT424FBF2c=;
        b=gKz2M/GQhR8WdD8tvoDl6xEhIdfoxvJackHYICO6oxI86b6NLpJFxjT0Y33foOnzWY
         /9WfEZXqjgkyzOPNzOcZrYXC8M/3IiNqFiAYEM6Y17/uORz2Jeb5yI2HLM5w9eBqDRBA
         YbdA4risLhQgZZYuiDtYxG/W/0e/cSGqRcYIwLdKyK5AW/Aw76IvOYd4yDdj3BfcFO/q
         1r1iu32vqfpgGq0ubQfTVSpDDSHK8nx77brdtAN7KRi9Rda5DldVbPijkQIy1SbDEGkz
         SGzHaXPIqsTN1idvqUVGw7fjp9uVBwkzBfVuuI7ZGLqRr0ie+cr8PFLJXs0AYYR2ZRU5
         EYfQ==
X-Forwarded-Encrypted: i=1; AKwUvBw28ypIkKmoMkTbiZBlMyhq+RtyBKk4rur+8x3hC1wOz3wGEGnmZ4E/OW4xWZzU4qM2G+yXZWU=@vger.kernel.org
X-Gm-Message-State: AFuF++kxNm+s+k0Cny8Rf2vlXYQqZ9HdVvSpjICPp4jxRyio3F5/YZQ4
	c6EHMGsVgEmjPP/PFeT7b0oPnY0Fdl489rie8oatGL1ksQZqvTXNnN55
X-Gm-Gg: AYBFou0zJdVKCEKLH0SIpOGi5I3xangaSwUSb6Z9Y43PqMUC8IOSPYyWOsCm/GXP6l9
	+sNBZt/rw1dNtd9MnmMzj7LXN34svM/w2MVL/cQxVjzQDlhXDDxwS/V+7TN47qOI4OpcDSKTu6L
	22X4o10QGW94dUxIMvJ+4EZ+le21fJBaY+piMoyRNi17UQ6TCblBkQ29wiQtd+Vmjwf92rqoCWg
	xqUmmqcMmhp/5SdT1t+iiinNxkHXYPjPVwd6miMJNJQ9zpW5CkJEyon05pf330FxVXmkLxJZRq1
	YTNvHfyhI0og8CVJVKRthJJKnfm5BbDRtlDBs7ft6UY8Xgmlgt73xsQBaFWK2/UXqcV8my9RBE8
	8lFEC3DH13l9sSBkbrk96/QMmFC6YU8ODZvHtLRdHLsIWMXGlfS8eSIrppkLqAQhcXizXKUFeOM
	jY/6uTcLa07toCnXhdm6/A+aDPZXIeyjox2CK8ShCvT7iywqekUaxiaxKp/xkv9kDSEp5aOqy7W
	XwjH35k4ZTvuJQ3UC8=
X-Received: by 2002:a05:701b:4584:b0:155:4a09:a228 with SMTP id a92af1059eb24-1659f86d47emr2222835c88.8.1791453991594;
        Thu, 08 Oct 2026 03:06:31 -0700 (PDT)
X-Received: from ramesh.. ([124.123.89.203])
        by smtp.gmail.com with ESMTPSA id a92af1059eb24-1616980c3b7sm12992588c88.16.2026.10.08.03.06.28
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Thu, 08 Oct 2026 03:06:31 -0700 (PDT)
X-Google-Original-From: T S Rameshkumar <rameshkumar.t@phytecembedded.in>
X-Cc: Matthieu Baerts <matttbe@kernel.org>,
	Mat Martineau <martineau@kernel.org>,
	Geliang Tang <geliang@kernel.org>,
	netdev@vger.kernel.org,
	mptcp@lists.linux.dev,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.34.1
X-In-Reply-To: <CAFPPu1gU2Y-D+d4i3F0MoNkYK+e1U+=X3qf6QycjfKBw+8snPg@mail.gmail.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>