]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: consolidate congestion control undo functions
authorYuchung Cheng <ycheng@google.com>
Fri, 4 Aug 2017 03:38:52 +0000 (20:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 04:25:10 +0000 (21:25 -0700)
commit20420f9a9f825f07457aa9cd17e610e4b12a8cfd
tree5d8917911405f39aa7f8ba34d26ce9ce4e60afee
parent4aaae6f3ff680092393fbfbe9f57e524d4bcc230
tcp: consolidate congestion control undo functions

Most TCP congestion controls are using identical logic to undo
cwnd except BBR. This patch consolidates these similar functions
to the one used currently by Reno and others.

Suggested-by: Neal Cardwell <ncardwell@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>
net/ipv4/tcp_bic.c
net/ipv4/tcp_cdg.c
net/ipv4/tcp_cubic.c
net/ipv4/tcp_highspeed.c
net/ipv4/tcp_illinois.c
net/ipv4/tcp_nv.c
net/ipv4/tcp_scalable.c
net/ipv4/tcp_veno.c
net/ipv4/tcp_yeah.c