|
@@ -167,7 +167,7 @@ static struct sctp_association *sctp_association_init(struct sctp_association *a
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_HEARTBEAT] = 0;
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_HEARTBEAT] = 0;
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay;
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_SACK] = asoc->sackdelay;
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] =
|
|
asoc->timeouts[SCTP_EVENT_TIMEOUT_AUTOCLOSE] =
|
|
- sp->autoclose * HZ;
|
|
|
|
|
|
+ (unsigned long)sp->autoclose * HZ;
|
|
|
|
|
|
/* Initilizes the timers */
|
|
/* Initilizes the timers */
|
|
for (i = SCTP_EVENT_TIMEOUT_NONE; i < SCTP_NUM_TIMEOUT_TYPES; ++i)
|
|
for (i = SCTP_EVENT_TIMEOUT_NONE; i < SCTP_NUM_TIMEOUT_TYPES; ++i)
|