Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2012 19:31:37 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r238260 - stable/8/sys/netinet
Message-ID:  <201207081931.q68JVbJa070356@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trociny
Date: Sun Jul  8 19:31:37 2012
New Revision: 238260
URL: http://svn.freebsd.org/changeset/base/238260

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

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

Modified: stable/8/sys/netinet/tcp_hostcache.c
==============================================================================
--- stable/8/sys/netinet/tcp_hostcache.c	Sun Jul  8 19:29:08 2012	(r238259)
+++ stable/8/sys/netinet/tcp_hostcache.c	Sun Jul  8 19:31:37 2012	(r238260)
@@ -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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207081931.q68JVbJa070356>