Home
last modified time | relevance | path

Searched hist:"357 f5ef6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/rxrpc/
H A Dcall_object.c357f5ef6 Sat Sep 17 04:49:12 CDT 2016 David Howells <dhowells@redhat.com> rxrpc: Call rxrpc_release_call() on error in rxrpc_new_client_call()

Call rxrpc_release_call() on getting an error in rxrpc_new_client_call()
rather than trying to do the cleanup ourselves. This isn't a problem,
provided we set RXRPC_CALL_HAS_USERID only if we actually add the call to
the calls tree as cleanup code fragments that would otherwise cause
problems are conditional.

Without this, we miss some of the cleanup.

Signed-off-by: David Howells <dhowells@redhat.com>
357f5ef6 Sat Sep 17 04:49:12 CDT 2016 David Howells <dhowells@redhat.com> rxrpc: Call rxrpc_release_call() on error in rxrpc_new_client_call()

Call rxrpc_release_call() on getting an error in rxrpc_new_client_call()
rather than trying to do the cleanup ourselves. This isn't a problem,
provided we set RXRPC_CALL_HAS_USERID only if we actually add the call to
the calls tree as cleanup code fragments that would otherwise cause
problems are conditional.

Without this, we miss some of the cleanup.

Signed-off-by: David Howells <dhowells@redhat.com>