]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Dup the main conn list for the proc interface
authorDavid Howells <dhowells@redhat.com>
Wed, 24 Aug 2016 06:30:52 +0000 (07:30 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 24 Aug 2016 14:17:14 +0000 (15:17 +0100)
commitf93a8d69c713f1ea5993399e84bd89235457d0b4
tree6c94c0a36600d69bb4ed9928372d08f952529f93
parent9329ff3289f0a44459f8d4de70e9d3efc7e24790
rxrpc: Dup the main conn list for the proc interface

The main connection list is used for two independent purposes: primarily it
is used to find connections to reap and secondarily it is used to list
connections in procfs.

Split the procfs list out from the reap list.  This allows us to stop using
the reap list for client connections when they acquire a separate
management strategy from service collections.

The client connections will not be on a management single list, and sometimes
won't be on a management list at all.  This doesn't leave them floating,
however, as they will also be on an rb-tree rooted on the socket so that the
socket can find them to dispatch calls.

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