]> git.baikalelectronics.ru Git - kernel.git/commit
net-tcp_bbr: set tp->snd_ssthresh to BDP upon STARTUP exit
authorYousuk Seung <ysseung@google.com>
Fri, 16 Mar 2018 17:51:49 +0000 (10:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2018 19:07:48 +0000 (15:07 -0400)
commit4e5e862e64b14e1430c865e4291d3a3eb1c81f00
tree9156f86891850f0c12fa1cfcdf718c08fe424914
parent9ad4abfc176dc50aed1c19e192776743da427a92
net-tcp_bbr: set tp->snd_ssthresh to BDP upon STARTUP exit

Set tp->snd_ssthresh to BDP upon STARTUP exit. This allows us
to check if a BBR flow exited STARTUP and the BDP at the
time of STARTUP exit with SCM_TIMESTAMPING_OPT_STATS. Since BBR does not
use snd_ssthresh this fix has no impact on BBR's behavior.

Signed-off-by: Yousuk Seung <ysseung@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Priyaranjan Jha <priyarjha@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_bbr.c