]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: do not slow start when cwnd equals ssthresh
authorYuchung Cheng <ycheng@google.com>
Thu, 9 Jul 2015 20:16:30 +0000 (13:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jul 2015 21:22:52 +0000 (14:22 -0700)
commit6784435906c0a3ec45c8a6717b5f1540a362f662
tree113a691ab55819f20b367cdeb8ba86440aa62177
parent16b977672183672f9810a862ec2c1c1a4c76df3e
tcp: do not slow start when cwnd equals ssthresh

In the original design slow start is only used to raise cwnd
when cwnd is stricly below ssthresh. It makes little sense
to slow start when cwnd == ssthresh: especially
when hystart has set ssthresh in the initial ramp, or after
recovery when cwnd resets to ssthresh. Not doing so will
also help reduce the buffer bloat slightly.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_cdg.c
net/ipv4/tcp_cong.c
net/ipv4/tcp_hybla.c