tcp_bbr: in restart from idle, see if we should exit PROBE_RTT
authorKevin Yang <yyd@google.com>
Wed, 22 Aug 2018 21:43:15 +0000 (17:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 Aug 2018 04:45:32 +0000 (21:45 -0700)
commit5490b32dce6932ea7ee8e3b2f76db2957c92af6e
treeb574deed86b5ef6c358e8531c02656ebcff8638d
parentfb99886224294b2291d267da41395022fa4200e2
tcp_bbr: in restart from idle, see if we should exit PROBE_RTT

This patch fix the case where BBR does not exit PROBE_RTT mode when
it restarts from idle. When BBR restarts from idle and if BBR is in
PROBE_RTT mode, BBR should check if it's time to exit PROBE_RTT. If
yes, then BBR should exit PROBE_RTT mode and restore the cwnd to its
full value.

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>
net/ipv4/tcp_bbr.c