Author: trociny
Date: Tue Jul  3 18:59:13 2012
New Revision: 238083
URL: http://svn.freebsd.org/changeset/base/238083

Log:
  Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.
  
  Reviewed by:  andre
  MFC after:    3 days

Modified:
  head/sys/netinet/tcp_hostcache.c

Modified: head/sys/netinet/tcp_hostcache.c
==============================================================================
--- head/sys/netinet/tcp_hostcache.c    Tue Jul  3 18:54:21 2012        
(r238082)
+++ head/sys/netinet/tcp_hostcache.c    Tue Jul  3 18:59:13 2012        
(r238083)
@@ -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,
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to