|
@@ -702,7 +702,7 @@ static void sctp_cmd_transport_on(sctp_cmd_seq_t *cmds,
|
|
* outstanding data and rely on the retransmission limit be reached
|
|
* outstanding data and rely on the retransmission limit be reached
|
|
* to shutdown the association.
|
|
* to shutdown the association.
|
|
*/
|
|
*/
|
|
- if (t->asoc->state != SCTP_STATE_SHUTDOWN_PENDING)
|
|
|
|
|
|
+ if (t->asoc->state < SCTP_STATE_SHUTDOWN_PENDING)
|
|
t->asoc->overall_error_count = 0;
|
|
t->asoc->overall_error_count = 0;
|
|
|
|
|
|
/* Clear the hb_sent flag to signal that we had a good
|
|
/* Clear the hb_sent flag to signal that we had a good
|