Fix the timeout for INIT retransmissions in the case where RTO_MIN is
smaller than RTO_INITIAL. MFC after: 1 week
This commit is contained in:
parent
8c444cbc45
commit
9372530827
@ -408,7 +408,11 @@ sctp_backoff_on_timeout(struct sctp_tcb *stcb,
|
||||
int num_marked, int num_abandoned)
|
||||
{
|
||||
if (net->RTO == 0) {
|
||||
net->RTO = stcb->asoc.minrto;
|
||||
if (net->RTO_measured) {
|
||||
net->RTO = stcb->asoc.minrto;
|
||||
} else {
|
||||
net->RTO = stcb->asoc.initial_rto;
|
||||
}
|
||||
}
|
||||
net->RTO <<= 1;
|
||||
if (net->RTO > stcb->asoc.maxrto) {
|
||||
|
Loading…
Reference in New Issue
Block a user