rxrpc: Check that the client conns cache is empty before module removal
authorDavid Howells <dhowells@redhat.com>
Mon, 27 Jun 2016 09:32:02 +0000 (10:32 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 6 Jul 2016 09:43:51 +0000 (10:43 +0100)
commiteb9b9d22754d1926771a22638e81384d517c6ce5
treebcb597115cd3184ccc31e896956ff310d180ed85
parentbba304db34ec3ca0d13e7f48e5a4e9896536cacc
rxrpc: Check that the client conns cache is empty before module removal

Check that the client conns cache is empty before module removal and bug if
not, listing any offending connections that are still present.  Unfortunately,
if there are connections still around, then the transport socket is still
unexpectedly open and active, so we can't just unallocate the connections.

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