From: Matthieu Baerts <matttbe@kernel.org>
To: Mat Martineau <martineau@kernel.org>,
Geliang Tang <geliang@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Simon Horman <horms@kernel.org>
Cc: netdev@vger.kernel.org, mptcp@lists.linux.dev,
linux-kernel@vger.kernel.org, stable@vger.kernel.org,
Davide Caratti <dcaratti@redhat.com>,
Florian Westphal <fw@strlen.de>,
Christoph Paasch <cpaasch@openai.com>,
Qing Luo <luoqing@kylinos.cn>, Gang Yan <yangang@kylinos.cn>,
Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org,
Shardul Bankar <shardul.b@mpiricsoftware.com>,
Kishen Maloor <kishen.maloor@intel.com>,
Wyatt Feng <bronzed_45_vested@icloud.com>,
Yuan Tan <yuantan098@gmail.com>, Yifan Wu <yifanwucs@gmail.com>,
Juefei Pu <tomapufckgml@gmail.com>,
Zhengchuan Liang <zcliangcn@gmail.com>, Xin Liu <bird@lzu.edu.cn>,
Ren Wei <n05ec@lzu.edu.cn>, Dmytro Shytyi <dmytro@shytyi.net>
Subject: Re: [PATCH net v2 0/8] mptcp: misc fixes for v7.2-rc6
Date: Wed, 5 Aug 2026 13:29:13 +0200 [thread overview]
Message-ID: <0b48cefe-7f05-481c-a827-4c1ffbc94598@kernel.org> (raw)
In-Reply-To: <20260803-net-mptcp-misc-fixes-7-2-rc6-v2-0-b8f496d71664@kernel.org>
Hello,
Regarding the "funny" Clashiko's (long) comments [1]:
TL;DR: I think this series can be applied as it is.
On 03/08/2026 18:16, Matthieu Baerts (NGI0) wrote:
> Here are various unrelated fixes:
>
> - Patches 1-3: harden incoming MPTCP suboptions parsing by rejecting
> non-combinable ones. Patch 3 removes unreachable code after patch 2
> added here for consistency, and to reduce comments from AI reviews.
> Fixes for v5.6.
- Patch 1: indeed, there is another existing issue to fix. This will be
done in a follow-up patch.
- Patch 2:
- Yes, combining some options is wrong, even if the RFC doesn't
explicitly mention that, and if there is space. As I explained in the
commit message when this happens, it is likely a buggy or bad behaviour
from the other peer, no need to try to get things working in this case.
- No I'm not going to mention all possible wrong combinations, it is
enough to explain the pattern and give the list of allowed combined options.
- Also, no need to insist about the same existing issue...
- Patch 3: wow, no comments :-O
> - Patch 4: fix a data race in the ADD_ADDR timer callback. A fix for
> v5.13.
- An existing issue to fix, this will be done in a follow-up patch.
> - Patch 5: correctly catch data corruption during the MPTCP join
> selftest by marking tests as failed, instead of only printing a
> warning. A fix for v5.18.
>
> - Patch 6: fix a leak with the userspace ADD_ADDR list in case of race
> condition during teardown. A fix for v5.19.
I don't think the mentioned existing race is possible: I would need a
reproducer. Also, I don't think the commit message needs to be even
longer, and no need to change the error for the userspace daemon: it
will get the notification about the close, and it depends on how the
userspace daemon handle that, possibly in an async way, so no need to
get something better for this race case on the close side.
Also, no need to add a BUILD_BUG_ON(). This can be dealt next time a
flag is added (or on next).
> - Patch 7: deal with MPTFO with a valid token, but no data in the SYN. A
> fix for v6.2.
Same answer as on v1 (despite the new comment in the commit message):
getting a more precise comment there doesn't have a lot of value: "doing
TFO" means having data in the SYN there. If the comment is modified,
that will certainly cause troubles during the backports.
> - Patch 8: reclaim forward-allocated memory in case of error on the
> receive side. A fix for v6.19.
Existing issue that will be addressed by the "mptcp: out-of-order queue
pruning" series.
[1]
https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260803-net-mptcp-misc-fixes-7-2-rc6-v2-0-b8f496d71664%40kernel.org
Cheers,
Matt
--
Sponsored by the NGI0 Core fund.
next prev parent reply other threads:[~2026-08-05 11:29 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 16:16 [PATCH net v2 0/8] mptcp: misc fixes for v7.2-rc6 Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 1/8] mptcp: options: reset DSS fields in case of unexpected size Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 2/8] mptcp: avoid combining some incoming suboptions Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 3/8] mptcp: remove MPC && MPJ check Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 4/8] mptcp: pm: fix data race in add_addr timer callback Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 5/8] selftests: mptcp: join: mark tests with data corruption as failed Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 6/8] mptcp: pm: fix memory leak from alloc-during-teardown race Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 7/8] mptcp: fastopen: only mark MPTFO subflows with SYN data Matthieu Baerts (NGI0)
2026-08-03 16:16 ` [PATCH net v2 8/8] mptcp: reclaim forward-allocated memory on RX path errors Matthieu Baerts (NGI0)
2026-08-05 11:29 ` Matthieu Baerts [this message]
2026-08-06 15:50 ` [PATCH net v2 0/8] mptcp: misc fixes for v7.2-rc6 patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b48cefe-7f05-481c-a827-4c1ffbc94598@kernel.org \
--to=matttbe@kernel.org \
--cc=bird@lzu.edu.cn \
--cc=bronzed_45_vested@icloud.com \
--cc=cpaasch@openai.com \
--cc=davem@davemloft.net \
--cc=dcaratti@redhat.com \
--cc=dmytro@shytyi.net \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=geliang@kernel.org \
--cc=horms@kernel.org \
--cc=kishen.maloor@intel.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=luoqing@kylinos.cn \
--cc=martineau@kernel.org \
--cc=mptcp@lists.linux.dev \
--cc=n05ec@lzu.edu.cn \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shardul.b@mpiricsoftware.com \
--cc=shuah@kernel.org \
--cc=stable@vger.kernel.org \
--cc=tomapufckgml@gmail.com \
--cc=yangang@kylinos.cn \
--cc=yifanwucs@gmail.com \
--cc=yuantan098@gmail.com \
--cc=zcliangcn@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox