]> 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)
commit57d57e8fb5e72f15460881da86eb044040216790
treebcb597115cd3184ccc31e896956ff310d180ed85
parent2cbceae8a5cf345a64449aad208fb859394a0e62
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