[PATCH mptcp-next 0/3] mptcp: avoid data-races around the sysctls
Gang Yan <[email protected]>
| Newsgroups | dev.linux.lists.mptcp |
|---|---|
| Message-ID | <[email protected]> |
From: Gang Yan <[email protected]> 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