]> err.no Git - linux-2.6/commit
[TCP]: htcp - use measured rtt
authorStephen Hemminger <shemminger@linux-foundation.org>
Thu, 26 Jul 2007 06:50:28 +0000 (23:50 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 31 Jul 2007 09:27:59 +0000 (02:27 -0700)
commit113bbbd8d2da61b50417a1dd06d8e7c19047e54b
treea120314c2a7b648d1a2b04788f6d0de37d20b974
parente7d0c88586a66cf03e70750a8119d984fdedf2aa
[TCP]: htcp - use measured rtt

Change HTCP to use measured RTT rather than smooth RTT.
Srtt is computed using the TCP receive timestamp
options, so it is vulnerable to hostile receivers. To avoid any problems
this might cause use the measured RTT instead.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_htcp.c