Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VSOCK: Don't set sk_state to TCP_CLOSE before testing it
A recent commit (3b4477d) converted the sk_state to use TCP constants. In that change, vmci_transport_handle_detach was changed such that sk->sk_state was set to TCP_CLOSE before we test whether it is TCP_SYN_SENT. This change moves the sk_state change back to the original locations in that function. Signed-off-by: Jorgen Hansen <[email protected]> Reviewed-by: Stefan Hajnoczi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information