|
@@ -884,7 +884,7 @@ sctp_disposition_t sctp_sf_sendbeat_8_3(const struct sctp_endpoint *ep,
|
|
|
{
|
|
|
struct sctp_transport *transport = (struct sctp_transport *) arg;
|
|
|
|
|
|
- if (asoc->overall_error_count > asoc->max_retrans) {
|
|
|
+ if (asoc->overall_error_count >= asoc->max_retrans) {
|
|
|
/* CMD_ASSOC_FAILED calls CMD_DELETE_TCB. */
|
|
|
sctp_add_cmd_sf(commands, SCTP_CMD_ASSOC_FAILED,
|
|
|
SCTP_U32(SCTP_ERROR_NO_ERROR));
|