rxrpc: Accesses of rxrpc_local::service need to be RCU managed
authorDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:48 +0000 (08:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Thu, 6 Oct 2016 07:11:48 +0000 (08:11 +0100)
commitb63452c11e22382e592d3f7f9ac4966197d3eab6
tree327105b7e1b14446cef73b4fff2d2985d6f9a9c4
parentaf70c1f92d3567035d2f73f39079459d58c706dc
rxrpc: Accesses of rxrpc_local::service need to be RCU managed

struct rxrpc_local->service is marked __rcu - this means that accesses of
it need to be managed using RCU wrappers.  There are two such places in
rxrpc_release_sock() where the value is checked and cleared.  Fix this by
using the appropriate wrappers.

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