aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/sm_sideeffect.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r--net/sctp/sm_sideeffect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c
index 8674d4919556..29d8501bf156 100644
--- a/net/sctp/sm_sideeffect.c
+++ b/net/sctp/sm_sideeffect.c
@@ -719,7 +719,7 @@ static void sctp_cmd_new_state(sctp_cmd_seq_t *cmds,
719 719
720 if (sctp_style(sk, TCP)) { 720 if (sctp_style(sk, TCP)) {
721 /* Change the sk->sk_state of a TCP-style socket that has 721 /* Change the sk->sk_state of a TCP-style socket that has
722 * sucessfully completed a connect() call. 722 * successfully completed a connect() call.
723 */ 723 */
724 if (sctp_state(asoc, ESTABLISHED) && sctp_sstate(sk, CLOSED)) 724 if (sctp_state(asoc, ESTABLISHED) && sctp_sstate(sk, CLOSED))
725 sk->sk_state = SCTP_SS_ESTABLISHED; 725 sk->sk_state = SCTP_SS_ESTABLISHED;