From: Gang Yan <gang.yan@linux.dev>
To: mptcp@lists.linux.dev
Cc: Gang Yan <yangang@kylinos.cn>
Subject: [PATCH mptcp-next 0/3] mptcp: avoid data-races around the sysctls
Date: Mon, 17 Aug 2026 09:24:49 +0800 [thread overview]
Message-ID: <20260817012452.7519-1-gang.yan@linux.dev> (raw)
From: Gang Yan <yangang@kylinos.cn>
Hi,
As decribed in [1], this series is for addressing the KCSAN issues in
sysctls.
Following the tcp_congestion_control() model, patch 1 and 2 now store
pointers to the immutable ops and swap them atomically via xchg().
Patch 3 (from Matthieu) covers the remaining scalar sysctls with READ_ONCE().
[1] https://github.com/multipath-tcp/mptcp_net-next/issues/626
Gang Yan (2):
mptcp: sched: change scheduler sysctl atomically
mptcp: pm: change path_manager sysctl atomically
Matthieu Baerts (NGI0) (1):
mptcp: use READ_ONCE() over sysctls
net/mptcp/ctrl.c | 116 ++++++++++++++++++++++++++++++-------------
net/mptcp/pm.c | 3 +-
net/mptcp/protocol.c | 5 +-
net/mptcp/protocol.h | 6 +--
net/mptcp/sched.c | 2 +-
5 files changed, 91 insertions(+), 41 deletions(-)
--
2.43.0
next reply other threads:[~2026-08-17 1:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-17 1:24 Gang Yan [this message]
2026-08-17 1:24 ` [PATCH mptcp-next 1/3] mptcp: sched: change scheduler sysctl atomically Gang Yan
2026-08-17 1:24 ` [PATCH mptcp-next 2/3] mptcp: pm: change path_manager " Gang Yan
2026-08-17 1:24 ` [PATCH mptcp-next 3/3] mptcp: use READ_ONCE() over sysctls Gang Yan
2026-08-17 2:31 ` [PATCH mptcp-next 0/3] mptcp: avoid data-races around the sysctls MPTCP CI
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=20260817012452.7519-1-gang.yan@linux.dev \
--to=gang.yan@linux.dev \
--cc=mptcp@lists.linux.dev \
--cc=yangang@kylinos.cn \
/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