diff options
author | Kevin Yang <[email protected]> | 2018-08-22 17:43:16 -0400 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-08-22 21:45:32 -0700 |
commit | 8e995bf14fdb7e33681d5c3312b602fa342b878a (patch) | |
tree | ce51c37366551d55e5c7a3ae22f9849ec918c57a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5490b32dce6932ea7ee8e3b2f76db2957c92af6e (diff) |
tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0
This commit fixes a corner case where TCP BBR would enter PROBE_RTT
mode but not reduce its cwnd. If a TCP receiver ACKed less than one
full segment, the number of delivered/acked packets was 0, so that
bbr_set_cwnd() would short-circuit and exit early, without cutting
cwnd to the value we want for PROBE_RTT.
The fix is to instead make sure that even when 0 full packets are
ACKed, we do apply all the appropriate caps, including the cap that
applies in PROBE_RTT mode.
Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control")
Signed-off-by: Kevin Yang <[email protected]>
Signed-off-by: Neal Cardwell <[email protected]>
Reviewed-by: Yuchung Cheng <[email protected]>
Reviewed-by: Soheil Hassas Yeganeh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions