net.inet.tcp.hostcache.list: RTTVAR value

Mikolaj Golub trociny at freebsd.org
Sun Jul 1 16:30:17 UTC 2012


Hi,

It looks for me that in the calculation of RTTVAR value for
net.inet.tcp.hostcache.list sysctl a wrong scale is used: TCP_RTT_SCALE
instead of TCP_RTTVAR_SCALE. See the attached patch. I am going to commit it
if nobody tell me that I am wrong here.

-- 
Mikolaj Golub

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_hostcache.c.rttvar.patch
Type: text/x-patch
Size: 561 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20120701/4790d579/tcp_hostcache.c.rttvar.bin


More information about the freebsd-net mailing list