]> git.baikalelectronics.ru Git - kernel.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)
commitce00b7181b2073bb6a76421fd1f8406211edd59e
treecb7b3d98dd566e396014ee970151af949f913356
parentb67df5173b3f878ccc8d01b11518ff7e97d53a30
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: 9ca2f2c49689 ("rxrpc: Call channels should have separate call number spaces")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_event.c