diff options
author | Yuchung Cheng <ycheng@google.com> | 2016-02-02 10:33:05 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-02-07 14:09:50 -0500 |
commit | 31ba0c10723e9eba378f96de1d1a9426129949e1 (patch) | |
tree | 98b0ed4aeb112803ccbb80ef18754acf58faa87d /include | |
parent | e662ca40de846e0a2be6326a7c4668326ddb194c (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions