Thread (5 messages) flat view 5 messages, 4 authors, 2016-06-16

Re: [PATCH net-next] sctp: change sk state to CLOSED instead of CLOSING in sctp_sock_migrate

From: Sergei Shtylyov <hidden>
Date: 2016-06-15 19:20:07
Also in: linux-sctp

Hello.

On 06/15/2016 08:15 PM, Xin Long wrote:
Commit d46e416c11c8 ("sctp: sctp should change socket state when
shutdown is received") may set sk_state CLOSING in sctp_sock_migrate,
but inet_accept doesn't allow the sk_state other than ESTABLISHED/
CLOSED for sctp. So we will change sk_state to CLOSED, instead of
CLOSING, as actually sk is closed already there.

Fixes: commit d46e416c11c8 ("sctp: sctp should change socket state when shutdown is received")
    "Commit" not needed here, this tag has well defined form.
Reported-by: Ye Xiaolong <redacted>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
[...]

MBR, Sergei
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help