]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Calls should only have one terminal state
authorDavid Howells <dhowells@redhat.com>
Tue, 30 Aug 2016 08:49:28 +0000 (09:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Tue, 30 Aug 2016 14:58:31 +0000 (15:58 +0100)
commit17deed6a5838d8f7b087c5c032430ab7db7a2d14
treebc2ec0c32190f3a2de5e1d322d745232ff96771b
parent562bb4a06f27d681f3dd20405a6eca96ae415fb5
rxrpc: Calls should only have one terminal state

Condense the terminal states of a call state machine to a single state,
plus a separate completion type value.  The value is then set, along with
error and abort code values, only when the call is transitioned to the
completion state.

Helpers are provided to simplify this.

Signed-off-by: David Howells <dhowells@redhat.com>
12 files changed:
net/rxrpc/ar-internal.h
net/rxrpc/call_accept.c
net/rxrpc/call_event.c
net/rxrpc/call_object.c
net/rxrpc/conn_client.c
net/rxrpc/conn_event.c
net/rxrpc/conn_object.c
net/rxrpc/input.c
net/rxrpc/output.c
net/rxrpc/peer_event.c
net/rxrpc/proc.c
net/rxrpc/recvmsg.c