diff options
author | Neal Cardwell <ncardwell@google.com> | 2013-09-17 05:44:20 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-18 03:08:08 +0400 |
commit | 269aa759b474570fa642452742741525cfc226a9 (patch) | |
tree | 00089098af219e1257caaf5c06835d3dbd6d043d /net/802 | |
parent | 4bdf25976333ba435f7879b4487fe8aca799ac41 (diff) | |
download | linux-269aa759b474570fa642452742741525cfc226a9.tar.xz |
tcp: fix RTO calculated from cached RTT
Commit 1b7fdd2ab5852 ("tcp: do not use cached RTT for RTT estimation")
did not correctly account for the fact that crtt is the RTT shifted
left 3 bits. Fix the calculation to consistently reflect this fact.
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Yuchung Cheng <ycheng@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Acked-By: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions