Merge branch 'af_unix-fix-two-data-races-reported-by-kcsan'
authorJakub Kicinski <kuba@kernel.org>
Thu, 11 May 2023 02:06:55 +0000 (19:06 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 11 May 2023 02:06:55 +0000 (19:06 -0700)
commit33dcee99e0e6d37b4ac84b3ffdfe18b64bbca0c9
tree3c4f6c86c3838657e703da026a07d5c9431ba4bf
parent5bca1d081f44c9443e61841842ce4e9179d327b6
parente1d09c2c2f5793474556b60f83900e088d0d366d
Merge branch 'af_unix-fix-two-data-races-reported-by-kcsan'

Kuniyuki Iwashima says:

====================
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.
====================

Link: https://lore.kernel.org/r/20230510003456.42357-1-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>