diff options
author | Michael Tuexen <tuexen@FreeBSD.org> | 2016-01-16 17:53:04 +0000 |
---|---|---|
committer | Michael Tuexen <tuexen@FreeBSD.org> | 2016-01-16 17:53:04 +0000 |
commit | 2a4260bcb08e35b13a57105d79edfcfdf991f9d5 (patch) | |
tree | 534a669088518600d44a6ea11e4ca39b7f4a25e3 | |
parent | fa37b44f910630a36347852a6c7920ac51e155ac (diff) |
Notes
-rw-r--r-- | sys/netinet/sctp_timer.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/netinet/sctp_timer.c b/sys/netinet/sctp_timer.c index 3e72585a3fef..bbb7306f078d 100644 --- a/sys/netinet/sctp_timer.c +++ b/sys/netinet/sctp_timer.c @@ -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) { |