diff options
| author | Yuchung Cheng <ycheng@google.com> | 2017-08-01 13:22:32 -0700 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-11-06 15:29:37 +0100 |
| commit | 1b6bfc51d146fc965c06d9d912c967ab4cdca6ff (patch) | |
| tree | fa7374d857a4e544bc6f37e4876c735dcd12b90d /include/linux/netdev_features.h | |
| parent | 33ea9e2192989d998827b1ad8c2807ddcb3930e4 (diff) | |
tcp: avoid setting cwnd to invalid ssthresh after cwnd reduction states
commit ed254971edea92c3ac5c67c6a05247a92aa6075e upstream.
If the sender switches the congestion control during ECN-triggered
cwnd-reduction state (CA_CWR), upon exiting recovery cwnd is set to
the ssthresh value calculated by the previous congestion control. If
the previous congestion control is BBR that always keep ssthresh
to TCP_INIFINITE_SSTHRESH, cwnd ends up being infinite. The safe
step is to avoid assigning invalid ssthresh value when recovery ends.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/netdev_features.h')
0 files changed, 0 insertions, 0 deletions
