summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorlstewart <lstewart@FreeBSD.org>2012-08-17 01:49:51 +0000
committerlstewart <lstewart@FreeBSD.org>2012-08-17 01:49:51 +0000
commit71de2d67ba40838ccc3b3d8320d1513b40220ec4 (patch)
tree37284cd727a957fa4866f1c847a5a953334363a6 /sys/compat
parent8552821dd88e330e868645a6e497a39ff200eddd (diff)
downloadFreeBSD-src-71de2d67ba40838ccc3b3d8320d1513b40220ec4.zip
FreeBSD-src-71de2d67ba40838ccc3b3d8320d1513b40220ec4.tar.gz
The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP
timestamp related stack variables to reference ms directly instead of ticks. The h_ertt(4) Khelp module relies on TCP timestamp information in order to calculate its enhanced RTT estimates, but was not updated as part of r231767. Consequently, h_ertt has not been calculating correct RTT estimates since r231767 was comitted, which in turn broke all delay-based congestion control algorithms because they rely on the h_ertt RTT estimates. Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all previous uses of the ticks variable. This ensures all timestamp related variables in h_ertt use the same units as the TCP stack and therefore results in meaningful comparisons and RTT estimate calculations. Reported & tested by: Naeem Khademi (naeemk at ifi uio no) Discussed with: bz MFC after: 3 days
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud