aboutsummaryrefslogtreecommitdiffstats
path: root/mm/debug.c
diff options
context:
space:
mode:
authorNeal Cardwell <ncardwell@google.com>2018-05-01 21:45:41 -0400
committerDavid S. Miller <davem@davemloft.net>2018-05-02 11:12:32 -0400
commite6e6a278b1eaffa19d42186bfacd1ffc15a50b3f (patch)
tree3e42446d622d43a07493f1b110bd9986345eff95 /mm/debug.c
parentnet: ethernet: ti: cpsw: fix packet leaking in dual_mac mode (diff)
downloadlinux-dev-e6e6a278b1eaffa19d42186bfacd1ffc15a50b3f.tar.xz
linux-dev-e6e6a278b1eaffa19d42186bfacd1ffc15a50b3f.zip
tcp_bbr: fix to zero idle_restart only upon S/ACKed data
Previously the bbr->idle_restart tracking was zeroing out the bbr->idle_restart bit upon ACKs that did not SACK or ACK anything, e.g. receiving incoming data or receiver window updates. In such situations BBR would forget that this was a restart-from-idle situation, and if the min_rtt had expired it would unnecessarily enter PROBE_RTT (even though we were actually restarting from idle but had merely forgotten that fact). The fix is simple: we need to remember we are restarting from idle until we receive a S/ACK for some data (a S/ACK for the first flight of data we send as we are restarting). This commit is a stable candidate for kernels back as far as 4.9. Fixes: 0f8782ea1497 ("tcp_bbr: add BBR congestion control") Signed-off-by: Neal Cardwell <ncardwell@google.com> Signed-off-by: Yuchung Cheng <ycheng@google.com> Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com> Signed-off-by: Priyaranjan Jha <priyarjha@google.com> Signed-off-by: Yousuk Seung <ysseung@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions