diff options
author | tuexen <tuexen@FreeBSD.org> | 2011-02-24 22:36:40 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2011-02-24 22:36:40 +0000 |
commit | d11e62523e24822c1b131d8bfce4b6362986eddb (patch) | |
tree | 7bfcb74bb5afead91368fa993d633f02993f33a1 /sys/netinet/sctp_sysctl.c | |
parent | d4e6572128ab96dceaab4e195d382c41bfa3be1d (diff) | |
download | FreeBSD-src-d11e62523e24822c1b131d8bfce4b6362986eddb.zip FreeBSD-src-d11e62523e24822c1b131d8bfce4b6362986eddb.tar.gz |
* Cleanup the code computing the retransmission timeout.
* Fix an initialization bug for the scaled variance of the RTO.
MFC after: 3 months.
Diffstat (limited to 'sys/netinet/sctp_sysctl.c')
-rw-r--r-- | sys/netinet/sctp_sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/sctp_sysctl.c b/sys/netinet/sctp_sysctl.c index 1863df9..a048e23 100644 --- a/sys/netinet/sctp_sysctl.c +++ b/sys/netinet/sctp_sysctl.c @@ -477,7 +477,7 @@ sctp_assoclist(SYSCTL_HANDLER_ARGS) xraddr.cwnd = net->cwnd; xraddr.flight_size = net->flight_size; xraddr.mtu = net->mtu; - xraddr.rtt = net->rtt; + xraddr.rtt = net->rtt / 1000; xraddr.start_time.tv_sec = (uint32_t) net->start_time.tv_sec; xraddr.start_time.tv_usec = (uint32_t) net->start_time.tv_usec; SCTP_INP_RUNLOCK(inp); |