mbox series

[mptcp-net,0/4] mptcp: a bunch of data race fixes

Message ID cover.1684321532.git.pabeni@redhat.com (mailing list archive)
Headers show
Series mptcp: a bunch of data race fixes | expand

Message

Paolo Abeni May 17, 2023, 11:35 a.m. UTC
The first 2 patches are direct response to recently reported KCSAN
splat.

The later 2 are just by code inspection of related code path. Patch 3/4
is there mostly to make the next one simple, even if the race mentioned
in such patch should be real (but very tiny, if possible at all).

Paolo Abeni (4):
  mptcp: add annotations around msk->subflow accesses
  mptcp: consolidate passive msk socket initialization
  mptcp: fix data race around msk->first access
  mptcp: add annotations around sk->sk_shutdown accesses

 net/mptcp/protocol.c | 86 ++++++++++++++++++++++++++++----------------
 net/mptcp/protocol.h | 14 +++++---
 net/mptcp/subflow.c  | 28 +--------------
 3 files changed, 66 insertions(+), 62 deletions(-)