summaryrefslogtreecommitdiff
path: root/net/phonet/pep.c
diff options
context:
space:
mode:
authorRémi Denis-Courmont <courmisch@gmail.com>2024-02-18 10:12:13 +0200
committerPaolo Abeni <pabeni@redhat.com>2024-02-22 09:05:50 +0100
commit3b2d9bc4d4acdf15a876eae2c0d83149250e85ba (patch)
tree267d12e819f2b7d709394bf6294327ae6ebb8a1a /net/phonet/pep.c
parent603ead96582d85903baec2d55f021b8dac5c25d2 (diff)
phonet: take correct lock to peek at the RX queue
The receive queue is protected by its embedded spin-lock, not the socket lock, so we need the former lock here (and only that one). Fixes: 107d0d9b8d9a ("Phonet: Phonet datagram transport protocol") Reported-by: Luosili <rootlab@huawei.com> Signed-off-by: Rémi Denis-Courmont <courmisch@gmail.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://lore.kernel.org/r/20240218081214.4806-1-remi@remlab.net Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/phonet/pep.c')
0 files changed, 0 insertions, 0 deletions