]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: rxrpc_connection_lock shouldn't be a BH lock, but conn_lock is
authorDavid Howells <dhowells@redhat.com>
Tue, 21 Jun 2016 15:10:03 +0000 (16:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Jun 2016 08:10:02 +0000 (09:10 +0100)
commit82fb35664e378228479d56d5dcaa1641222a869e
tree7b58eb35e0c4cf38a9f0f6dce186dea73aa2ac2e
parentf0c608806fcf895e1d8651c51af332263ac19edb
rxrpc: rxrpc_connection_lock shouldn't be a BH lock, but conn_lock is

rxrpc_connection_lock shouldn't be accessed as a BH-excluding lock.  It's
only accessed in a few places and none of those are in BH-context.

rxrpc_transport::conn_lock, however, *is* a BH-excluding lock and should be
accessed so consistently.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/conn_object.c