]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: make congestion control optionally skip slow start after idle
authorWei Wang <weiwan@google.com>
Fri, 5 May 2017 19:53:23 +0000 (12:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 May 2017 18:37:07 +0000 (14:37 -0400)
commit79b0277470cfea2d763dc50301bb4aa3a16499b3
tree96e7fc35b0e4ab664d4e68a0ed7a68398402090c
parent76c62f29f84c288c00830495ca38724018d3c6b4
tcp: make congestion control optionally skip slow start after idle

Congestion control modules that want full control over congestion
control behavior do not want the cwnd modifications controlled by
the sysctl_tcp_slow_start_after_idle code path.
So skip those code paths for CC modules that use the cong_control()
API.
As an example, those cwnd effects are not desired for the BBR congestion
control algorithm.

Fixes: e091b9caac0d ("tcp: new CC hook to set sending rate with rate_sample in any CA state")
Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tcp.h
net/ipv4/tcp_output.c