summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_htcp.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-07-25 23:50:06 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-07-31 02:27:58 -0700
commite7d0c88586a66cf03e70750a8119d984fdedf2aa (patch)
tree87d9da3efbd1dd5ba67ce60cd7c342f23eccdcab /net/ipv4/tcp_htcp.c
parent30cfd0baf0a0c4329fff1ef4b622919297969ec8 (diff)
[TCP]: cubic - eliminate use of receive time stamp
Remove use of received timestamp option value from RTT calculation in Cubic. A hostile receiver may be returning a larger timestamp option than the original value. This would cause the sender to believe the malevolent receiver had a larger RTT and because Cubic tries to provide some RTT friendliness, the sender would then favor the liar. Instead, use the jiffie resolutionRTT value already computed and passed back after ack. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
0 files changed, 0 insertions, 0 deletions