rxrpc: Fix connection-level abort handling
authorDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 14:46:17 +0000 (15:46 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 8 Oct 2018 21:42:04 +0000 (22:42 +0100)
commit647530924f47c93db472ee3cf43b7ef1425581b6
tree49c180e0069489ae18d8f60fcf089da7d523ed86
parent298bc15b2079c324e82d0a6fda39c3d762af7282
rxrpc: Fix connection-level abort handling

Fix connection-level abort handling to cache the abort and error codes
properly so that a new incoming call can be properly aborted if it races
with the parent connection being aborted by another CPU.

The abort_code and error parameters can then be dropped from
rxrpc_abort_calls().

Fixes: f5c17aaeb2ae ("rxrpc: Calls should only have one terminal state")
Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/conn_event.c