aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'net/sctp/sm_sideeffect.c')
-rw-r--r--net/sctp/sm_sideeffect.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/sctp/sm_sideeffect.c b/net/sctp/sm_sideeffect.c
index 2a94240eac36..82d96441e64d 100644
--- a/net/sctp/sm_sideeffect.c
+++ b/net/sctp/sm_sideeffect.c
@@ -473,6 +473,10 @@ void sctp_generate_reconf_event(struct timer_list *t)
473 goto out_unlock; 473 goto out_unlock;
474 } 474 }
475 475
476 /* This happens when the response arrives after the timer is triggered. */
477 if (!asoc->strreset_chunk)
478 goto out_unlock;
479
476 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT, 480 error = sctp_do_sm(net, SCTP_EVENT_T_TIMEOUT,
477 SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_RECONF), 481 SCTP_ST_TIMEOUT(SCTP_EVENT_TIMEOUT_RECONF),
478 asoc->state, asoc->ep, asoc, 482 asoc->state, asoc->ep, asoc,