svn commit: r238259 - stable/9/sys/netinet

Mikolaj Golub trociny at FreeBSD.org
Sun Jul 8 19:29:09 UTC 2012


Author: trociny
Date: Sun Jul  8 19:29:08 2012
New Revision: 238259
URL: http://svn.freebsd.org/changeset/base/238259

Log:
  Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl.
  
  Reviewed by:	andre
  Approved by:	re (kib)

Modified:
  stable/9/sys/netinet/tcp_hostcache.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/netinet/tcp_hostcache.c
==============================================================================
--- stable/9/sys/netinet/tcp_hostcache.c	Sun Jul  8 18:04:26 2012	(r238258)
+++ stable/9/sys/netinet/tcp_hostcache.c	Sun Jul  8 19:29:08 2012	(r238259)
@@ -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,


More information about the svn-src-stable-9 mailing list