summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2024-06-04 19:52:40 +0300
committerPaolo Abeni <pabeni@redhat.com>2024-06-06 13:57:15 +0300
commit5d915e584d8408211d4567c22685aae8820bfc55 (patch)
tree5b53da9233db0adf0c085411637d4c1d12eecac5 /net/unix/af_unix.c
parent83690b82d228b3570565ebd0b41873933238b97f (diff)
downloadlinux-5d915e584d8408211d4567c22685aae8820bfc55.tar.xz
af_unix: Use skb_queue_len_lockless() in sk_diag_show_rqlen().
We can dump the socket queue length via UNIX_DIAG by specifying UDIAG_SHOW_RQLEN. If sk->sk_state is TCP_LISTEN, we return the recv queue length, but here we do not hold recvq lock. Let's use skb_queue_len_lockless() in sk_diag_show_rqlen(). Fixes: c9da99e6475f ("unix_diag: Fixup RQLEN extension report") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions