Re: [PATCH] VSOCK: Don't set sk_state to TCP_CLOSE before testing it

From
David Miller <davem@davemloft.net>
Date
2017-11-28 21:02:04
From: Jorgen Hansen <redacted>
Date: Mon, 27 Nov 2017 05:29:32 -0800
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 <redacted>
Applied.
Thread (1 message) 1 message, 1 author, last reply 2017-11-28
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help