diff options
author | Yuchung Cheng | 2016-02-02 19:33:05 +0100 |
---|---|---|
committer | David S. Miller | 2016-02-07 20:09:50 +0100 |
commit | 31ba0c10723e9eba378f96de1d1a9426129949e1 (patch) | |
tree | 98b0ed4aeb112803ccbb80ef18754acf58faa87d /fs | |
parent | tcp: retransmit after recovery processing and congestion control (diff) | |
download | kernel-qcow2-linux-31ba0c10723e9eba378f96de1d1a9426129949e1.tar.gz kernel-qcow2-linux-31ba0c10723e9eba378f96de1d1a9426129949e1.tar.xz kernel-qcow2-linux-31ba0c10723e9eba378f96de1d1a9426129949e1.zip |
tcp: move cwnd reduction after recovery state procesing
Currently the cwnd is reduced and increased in various different
places. The reduction happens in various places in the recovery
state processing (tcp_fastretrans_alert) while the increase
happens afterward.
A better sequence is to identify lost packets and update
the congestion control state (icsk_ca_state) first. Then base
on the new state, up/down the cwnd in one central place. It's
more clear to reason cwnd changes.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions