summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2024-12-12 20:58:15 +0000
committerJakub Kicinski <kuba@kernel.org>2024-12-16 18:06:23 -0800
commitd920270a6dbf756384b125ce39c17666a7c0c9f4 (patch)
treed665996e202c068ef784ed6c5cb221ef5dcadb2f /net/unix/af_unix.c
parent9495e6688522f7de5d72eb98b49420bc2ba40967 (diff)
rxrpc: Disable IRQ, not BH, to take the lock for ->attend_link
Use spin_lock_irq(), not spin_lock_bh() to take the lock when accessing the ->attend_link() to stop a delay in the I/O thread due to an interrupt being taken in the app thread whilst that holds the lock and vice versa. Fixes: a2ea9a907260 ("rxrpc: Use irq-disabling spinlocks between app and I/O thread") Signed-off-by: David Howells <dhowells@redhat.com> cc: Marc Dionne <marc.dionne@auristor.com> cc: linux-afs@lists.infradead.org Link: https://patch.msgid.link/2870146.1734037095@warthog.procyon.org.uk Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions