From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Yang Subject: [PATCH net 0/3] tcp_bbr: PROBE_RTT minor bug fixes Date: Wed, 22 Aug 2018 17:43:13 -0400 Message-ID: <20180822214316.174161-1-yyd@google.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: netdev@vger.kernel.org, "Kevin(Yudong) Yang" To: David Miller Return-path: Received: from mail-qk0-f201.google.com ([209.85.220.201]:40891 "EHLO mail-qk0-f201.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727007AbeHWBKC (ORCPT ); Wed, 22 Aug 2018 21:10:02 -0400 Received: by mail-qk0-f201.google.com with SMTP id 93-v6so2838568qkq.7 for ; Wed, 22 Aug 2018 14:43:26 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: From: "Kevin(Yudong) Yang" This series includes two minor bug fixes for the TCP BBR PROBE_RTT mechanism, and one preparatory patch: (1) A preparatory patch to reorganize the PROBE_RTT logic by refactoring (into its own function) the code to exit PROBE_RTT, since the next patch will be using that code in a new context. (2) Fix: 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. (3) Fix: Apply the PROBE_RTT cwnd cap even if the count of fully-ACKed packets is 0. Kevin Yang (3): tcp_bbr: add bbr_check_probe_rtt_done() helper tcp_bbr: in restart from idle, see if we should exit PROBE_RTT tcp_bbr: apply PROBE_RTT cwnd cap even if acked==0 net/ipv4/tcp_bbr.c | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) -- 2.18.0.1017.ga543ac7ca45-goog