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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Oct 2020 07:51:14 +0000 (09:51 +0200)
commitc11f690471759b1f0f0e26d0f4789f790bba3f6c
tree2c840dce85c47f705761751d2fdb20a3ef53d48c
parent690a6ce474b35f76026ba99037519eb6f10f2b89
rxrpc: Fix some missing _bh annotations on locking conn->state_lock

[ Upstream commit fa1d113a0f96f9ab7e4fe4f8825753ba1e34a9d3 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/rxrpc/conn_event.c