]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Provide more refcount helper functions
authorDavid Howells <dhowells@redhat.com>
Mon, 4 Apr 2016 13:00:38 +0000 (14:00 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 22 Jun 2016 08:17:51 +0000 (09:17 +0100)
commitafb1ad847dcbfdeb09f4fe60be14088a6ef03ba2
treea56752e988d6e458623e5f1f660b4b95d195007f
parentf6a380e262d3ba770b59c7ef1e0b5bfc1399f250
rxrpc: Provide more refcount helper functions

Provide refcount helper functions for connections so that the code doesn't
touch local or connection usage counts directly.

Also make it such that local and peer put functions can take a NULL
pointer.

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