]> 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)
commit3a3d23a22c22deb09dc8953d14e36b99193a51b0
tree5d8917911405f39aa7f8ba34d26ce9ce4e60afee
parent2e76f81ba14469aa4a40a6ecf8fb95dfb03dc2ae
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