]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
rxrpc: Fix some missing _bh annotations on locking conn->state_lock
authorDavid Howells <dhowells@redhat.com>
Thu, 1 Oct 2020 10:57:40 +0000 (11:57 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 5 Oct 2020 15:34:32 +0000 (16:34 +0100)
commitfa1d113a0f96f9ab7e4fe4f8825753ba1e34a9d3
treecb7b3d98dd566e396014ee970151af949f913356
parent9a059cd5ca7d9c5c4ca5a6e755cf72f230176b6a
rxrpc: Fix some missing _bh annotations on locking conn->state_lock

conn->state_lock may be taken in softirq mode, but a previous patch
replaced an outer lock in the response-packet event handling code, and lost
the _bh from that when doing so.

Fix this by applying the _bh annotation to the state_lock locking.

Fixes: a1399f8bb033 ("rxrpc: Call channels should have separate call number spaces")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_event.c