]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Add RCU destruction for connections and calls
authorDavid Howells <dhowells@redhat.com>
Mon, 27 Jun 2016 16:11:19 +0000 (17:11 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:43:51 +0000 (10:43 +0100)
commita7d0176a8966cb9b84e6d4b4a0ffd1bd432047b8
tree1d4b7d3d3aa9198475f272bbc2ce8be81368b9ad
parent15c2aef40a0a679e61f6d7122de41ac3631e7bd0
rxrpc: Add RCU destruction for connections and calls

Add RCU destruction for connections and calls as the RCU lookup from the
transport socket data_ready handler is going to come along shortly.

Whilst we're at it, move the cleanup workqueue flushing and RCU barrierage
into the destruction code for the objects that need it (locals and
connections) and add the extra RCU barrier required for connection cleanup.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/af_rxrpc.c
net/rxrpc/ar-internal.h
net/rxrpc/call_object.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/local_object.c