diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-07-25 23:50:06 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-07-31 02:27:58 -0700 |
commit | e7d0c88586a66cf03e70750a8119d984fdedf2aa (patch) | |
tree | 87d9da3efbd1dd5ba67ce60cd7c342f23eccdcab /net/sysctl_net.c | |
parent | 30cfd0baf0a0c4329fff1ef4b622919297969ec8 (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/sysctl_net.c')
0 files changed, 0 insertions, 0 deletions