Skip to content
Commit 357f5ef6 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 66d58af7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment