aboutsummaryrefslogtreecommitdiffstats
path: root/net/ife
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2022-06-05 16:23:25 -0700
committerPaolo Abeni <pabeni@redhat.com>2022-06-07 12:07:46 +0200
commit662a80946ce13633ae90a55379f1346c10f0c432 (patch)
tree3d9d258ea6d32322637e142f80c91cb6425eb660 /net/ife
parentstmmac: intel: Fix an error handling path in intel_eth_pci_probe() (diff)
downloadlinux-dev-662a80946ce13633ae90a55379f1346c10f0c432.tar.xz
linux-dev-662a80946ce13633ae90a55379f1346c10f0c432.zip
af_unix: Fix a data-race in unix_dgram_peer_wake_me().
unix_dgram_poll() calls unix_dgram_peer_wake_me() without `other`'s lock held and check if its receive queue is full. Here we need to use unix_recvq_full_lockless() instead of unix_recvq_full(), otherwise KCSAN will report a data-race. Fixes: 7d267278a9ec ("unix: avoid use-after-free in ep_remove_wait_queue") Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com> Link: https://lore.kernel.org/r/20220605232325.11804-1-kuniyu@amazon.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/ife')
0 files changed, 0 insertions, 0 deletions