aboutsummaryrefslogtreecommitdiff
path: root/lib/cpu-notifier-error-inject.c
diff options
context:
space:
mode:
authorNeal Cardwell <[email protected]>2013-09-16 21:44:20 -0400
committerDavid S. Miller <[email protected]>2013-09-17 19:08:08 -0400
commit269aa759b474570fa642452742741525cfc226a9 (patch)
tree00089098af219e1257caaf5c06835d3dbd6d043d /lib/cpu-notifier-error-inject.c
parent4bdf25976333ba435f7879b4487fe8aca799ac41 (diff)
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 <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Yuchung Cheng <[email protected]> Acked-by: Eric Dumazet <[email protected]> Acked-By: Yuchung Cheng <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions