public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN.
@ 2023-05-10  0:34 Kuniyuki Iwashima
  2023-05-10  0:34 ` [PATCH v1 net 1/2] af_unix: Fix a data race of sk->sk_receive_queue->qlen Kuniyuki Iwashima
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Kuniyuki Iwashima @ 2023-05-10  0:34 UTC (permalink / raw)
  To: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: Kuniyuki Iwashima, Kuniyuki Iwashima, netdev

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(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-05-11  2:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-10  0:34 [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN Kuniyuki Iwashima
2023-05-10  0:34 ` [PATCH v1 net 1/2] af_unix: Fix a data race of sk->sk_receive_queue->qlen Kuniyuki Iwashima
2023-05-10 11:31   ` Eric Dumazet
2023-05-10  0:34 ` [PATCH v1 net 2/2] af_unix: Fix data races around sk->sk_shutdown Kuniyuki Iwashima
2023-05-10 11:32   ` Eric Dumazet
2023-05-10 13:10 ` [PATCH v1 net 0/2] af_unix: Fix two data races reported by KCSAN Michal Kubiak
2023-05-11  2:10 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox