diff options
author | Jorgen Hansen | 2017-11-27 14:29:32 +0100 |
---|---|---|
committer | David S. Miller | 2017-11-28 22:01:50 +0100 |
commit | 4a5def7f6a758aef1a0a3b10e981881c1e914f69 (patch) | |
tree | 6f9d3ba6b242b1dc490aaa7bdeadcb20f19d8d15 /net/vmw_vsock/diag.c | |
parent | atm: fore200e: use %pK to format kernel addresses instead of %x (diff) | |
download | kernel-qcow2-linux-4a5def7f6a758aef1a0a3b10e981881c1e914f69.tar.gz kernel-qcow2-linux-4a5def7f6a758aef1a0a3b10e981881c1e914f69.tar.xz kernel-qcow2-linux-4a5def7f6a758aef1a0a3b10e981881c1e914f69.zip |
VSOCK: Don't set sk_state to TCP_CLOSE before testing it
A recent commit (3b4477d2dcf2) 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 <jhansen@vmware.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/vmw_vsock/diag.c')
0 files changed, 0 insertions, 0 deletions