aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorNeal Cardwell <[email protected]>2015-01-28 20:01:36 -0500
committerDavid S. Miller <[email protected]>2015-01-28 22:18:37 -0800
commit814d488c61260521b1b3cc97063700a5a6667c8f (patch)
tree676d16d97849f4b4727d365cd35e67e67d9a2c79 /tools/perf/util/scripting-engines/trace-event-perl.c
parente73ebb0881ea5534ce606c1d71b4ac44db5c6930 (diff)
tcp: fix the timid additive increase on stretch ACKs
tcp_cong_avoid_ai() was too timid (snd_cwnd increased too slowly) on "stretch ACKs" -- cases where the receiver ACKed more than 1 packet in a single ACK. For example, suppose w is 10 and we get a stretch ACK for 20 packets, so acked is 20. We ought to increase snd_cwnd by 2 (since acked/w = 20/10 = 2), but instead we were only increasing cwnd by 1. This patch fixes that behavior. Reported-by: Eyal Perry <[email protected]> Signed-off-by: Neal Cardwell <[email protected]> Signed-off-by: Yuchung Cheng <[email protected]> Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions