]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite25207c9e938b14255db91045e7656fb6e2af718
treebcb597115cd3184ccc31e896956ff310d180ed85
parent1aa42ff569a7e767c8c73dc01c6899adfe19c56e
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