From: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>
Date: Fri, 15 Jul 2016 16:38:19 -0300

> Commit d46e416c11c8 missed to update some other places which checked for
> the socket being TCP-style AND Established state, as Closing state has
> some overlapping with the previous understanding of Established.
> 
> Without this fix, one of the effects is that some already queued rx
> messages may not be readable anymore depending on how the association
> teared down, and sending may also not be possible if peer initiated the
> shutdown.
> 
> Also merge two if() blocks into one condition on sctp_sendmsg().
> 
> Cc: Xin Long <lucien....@gmail.com>
> Fixes: d46e416c11c8 ("sctp: sctp should change socket state when shutdown is 
> received")
> Signed-off-by: Marcelo Ricardo Leitner <marcelo.leit...@gmail.com>

Applied.

Reply via email to