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

rxrpc: The client call state must be changed before attachment to conn



We must set the client call state to RXRPC_CALL_CLIENT_SEND_REQUEST before
attaching the call to the connection struct, not after, as it's liable to
receive errors and conn aborts as soon as the assignment is made - and
these will cause its state to be changed outside of the initiating thread's
control.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
parent 00b5407e
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