]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/rxrpc/conn_object.c
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)
commitb3f575043fcd2926616a794db3f22280740fea6d
tree7b58eb35e0c4cf38a9f0f6dce186dea73aa2ac2e
parent42886ffe77f142c36ecf585d60fff2edd06b5be8
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