]> 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)
commit4ce973f98493a27b43647954a50b058b1b2f1f9f
treebc2ec0c32190f3a2de5e1d322d745232ff96771b
parent8a2ff092c64a071751361d275d49545dfa4f4323
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