]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit321cfbe0a870fd32afee8f6e17a770c054fd5e4b
tree49c180e0069489ae18d8f60fcf089da7d523ed86
parenta38d92edf489ee2d81b8972665a4405d4bf2267a
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: 4ce973f98493 ("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