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:48:17 +0000 (09:48 +0200)
commit81f997b4b9f4527be45699224ec7f7ac4970cef4
tree82a14c1dfc3e8e5fa449f301e82e984c821a9d8b
parent90a4dcfd864ca1854ff32e7feab457e786877091
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