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)
commitf1722a1be19dc38e0a4b282d4e6e6ec5e1b11a67
tree5d8917911405f39aa7f8ba34d26ce9ce4e60afee
parent4faf783998b8cb88294e9df89032f473f8771b78
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