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)
commit53794570049d314742f156c99022914840a3d5ab
tree9156f86891850f0c12fa1cfcdf718c08fe424914
parent7156d194a0772f733865267e7207e0b08f81b02b
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