summaryrefslogtreecommitdiffstats
path: root/io_uring/kbuf.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-06-04 18:52:41 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 12:57:15 +0200
commitefaf24e30ec39ebbea9112227485805a48b0ceb1 (patch)
tree42ca942ab931b6967d93e9183b4712b902993697 /io_uring/kbuf.c
parentaf_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen(). (diff)
downloadlinux-efaf24e30ec39ebbea9112227485805a48b0ceb1.tar.xz
linux-efaf24e30ec39ebbea9112227485805a48b0ceb1.zip
af_unix: Annotate data-race of sk->sk_shutdown in sk_diag_fill().
While dumping sockets via UNIX_DIAG, we do not hold unix_state_lock(). Let's use READ_ONCE() to read sk->sk_shutdown. Fixes: e4e541a84863 ("sock-diag: Report shutdown for inet and unix sockets (v2)") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'io_uring/kbuf.c')
0 files changed, 0 insertions, 0 deletions