Skip to content

af_unix: Fix two data races reported by KCSAN.

Kuniyuki Iwashima netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2af_unix: Fix a data race of sk->sk_receive_queue->qlen.net/unix/af_unix.c+1 -11 replyApplied
2/2af_unix: Fix data races around sk->sk_shutdown.net/unix/af_unix.c+12 -81 replyApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric DumazetMichal Kubiak
SeriesR-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN.

KCSAN reported data races around these two fields for AF_UNIX sockets.

* sk->sk_receive_queue->qlen
* sk->sk_shutdown

Let's annotate them properly.

Kuniyuki Iwashima (2):
af_unix: Fix a data race of sk->sk_receive_queue->qlen.
af_unix: Fix data races around sk->sk_shutdown.

 net/unix/af_unix.c | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)
Signature · 1 line
2.30.2