Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2012 18:59:14 +0000 (UTC)
From:      Mikolaj Golub <trociny@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238083 - head/sys/netinet
Message-ID:  <201207031859.q63IxEgb064962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



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