diff options
author | David Howells <dhowells@redhat.com> | 2016-09-04 14:10:10 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-09-04 14:10:10 +0200 |
commit | af338a9ea60acc6337fe9fcdcf664aec2520e541 (patch) | |
tree | 5d7883b1d7cee050b782c540b7cee933adb12dd5 /include | |
parent | rxrpc: Fix uninitialised variable warning (diff) | |
download | linux-af338a9ea60acc6337fe9fcdcf664aec2520e541.tar.xz linux-af338a9ea60acc6337fe9fcdcf664aec2520e541.zip |
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: David Howells <dhowells@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions