Kevin Yang
8e995bf14f
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 <yyd@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Yuchung Cheng <ycheng@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-08-22 21:45:32 -07:00
..
2018-07-24 14:10:42 -07:00
2018-07-20 22:28:28 -07:00
2018-08-01 09:52:30 -07:00
2017-11-03 22:11:17 +08:00
2018-05-16 07:24:30 +02:00
2017-10-21 01:33:19 +01:00
2018-07-29 12:37:06 -07:00
2018-07-27 09:33:37 -07:00
2018-02-13 13:59:03 +01:00
2018-07-28 19:06:12 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-04-23 10:21:24 -04:00
2018-06-05 12:29:43 -04:00
2018-06-06 18:39:49 -07:00
2018-07-03 10:29:26 +09:00
2016-06-30 05:03:36 -04:00
2018-07-03 10:29:26 +09:00
2018-07-07 10:58:49 +09:00
2018-08-02 10:55:32 -07:00
2018-08-11 01:58:46 +02:00
2018-03-12 11:03:42 -04:00
2018-08-11 17:54:18 -07:00
2018-08-11 01:58:46 +02:00
2018-04-07 22:32:32 -04:00
2018-04-09 10:57:35 -04:00
2018-08-01 09:52:30 -07:00
2018-08-11 17:54:18 -07:00
2018-08-01 09:58:15 -07:00
2018-07-12 16:40:19 -07:00
2017-11-02 11:10:55 +01:00
2018-07-24 19:21:58 -07:00
2018-07-24 16:35:58 -07:00
2018-05-10 15:13:33 -04:00
2018-06-07 16:27:16 -04:00
2018-08-19 11:26:39 -07:00
2018-06-06 18:39:49 -07:00
2018-03-27 13:18:09 -04:00
2018-06-22 13:43:27 +09:00
2018-07-13 14:21:16 -07:00
2018-07-24 14:10:43 -07:00
2018-07-24 14:10:43 -07:00
2018-06-05 12:29:43 -04:00
2018-07-16 17:51:48 +02:00
2018-05-23 15:14:12 -04:00
2018-08-01 09:50:04 -07:00
2018-08-05 17:16:46 -07:00
2017-03-24 13:17:07 -07:00
2017-08-07 11:39:22 -07:00
2018-07-07 10:58:49 +09:00
2018-07-29 12:37:06 -07:00
2018-03-25 20:53:54 -04:00
2018-08-01 09:52:30 -07:00
2018-08-22 21:45:32 -07:00
2017-08-06 21:25:10 -07:00
2017-10-16 21:24:25 +01:00
2017-11-15 14:09:52 +09:00
2017-08-06 21:25:10 -07:00
2018-08-11 11:31:35 -07:00
2017-12-20 14:00:25 -05:00
2017-12-13 15:51:12 -05:00
2017-08-06 21:25:10 -07:00
2017-08-06 21:25:10 -07:00
2016-11-21 13:20:17 -05:00
2018-02-28 12:03:47 -05:00
2018-08-11 11:31:35 -07:00
2018-08-22 21:42:58 -07:00
2017-05-17 16:06:01 -04:00
2018-03-27 13:18:09 -04:00
2018-07-12 14:50:40 -07:00
2018-01-31 10:26:30 -05:00
2018-07-16 00:12:09 -07:00
2018-08-01 09:57:09 -07:00
2018-07-11 23:01:56 -07:00
2018-08-01 09:56:10 -07:00
2017-08-06 21:25:10 -07:00
2018-07-25 16:35:45 -07:00
2018-08-16 14:58:08 -07:00
2017-09-29 06:07:00 +01:00
2017-11-02 11:10:55 +01:00
2017-08-06 21:25:10 -07:00
2017-08-30 11:20:08 -07:00
2017-08-06 21:25:10 -07:00
2018-08-03 16:52:07 -07:00
2018-02-28 11:43:28 -05:00
2018-06-08 19:55:15 -04:00
2017-11-02 11:10:55 +01:00
2018-07-03 10:29:26 +09:00
2017-07-24 13:52:59 -07:00
2018-08-11 01:58:46 +02:00
2018-05-16 07:24:30 +02:00
2017-12-19 08:23:21 +01:00
2017-06-16 11:48:39 -04:00
2017-04-14 10:07:39 +02:00
2018-03-07 10:54:29 +01:00
2018-03-04 17:49:17 -05:00
2018-03-27 13:18:09 -04:00
2017-02-09 10:22:17 +01:00
2017-11-02 11:10:55 +01:00