Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.

Reviewed by:	andre
MFC after:	3 days
This commit is contained in:
Mikolaj Golub 2012-07-03 18:59:13 +00:00
parent 8585b1b890
commit 3a288e901f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=238083

View File

@ -624,7 +624,7 @@ sysctl_tcp_hc_list(SYSCTL_HANDLER_ARGS)
msec(hc_entry->rmx_rtt *
(RTM_RTTUNIT / (hz * TCP_RTT_SCALE))),
msec(hc_entry->rmx_rttvar *
(RTM_RTTUNIT / (hz * TCP_RTT_SCALE))),
(RTM_RTTUNIT / (hz * TCP_RTTVAR_SCALE))),
hc_entry->rmx_bandwidth * 8,
hc_entry->rmx_cwnd,
hc_entry->rmx_sendpipe,