tcp: tcp_cong_control helper
authorYuchung Cheng <ycheng@google.com>
Tue, 2 Feb 2016 18:33:09 +0000 (10:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Feb 2016 19:09:51 +0000 (14:09 -0500)
commitd452e6caf8367cc70cf940c24a6a6cc2d521d3c1
treea82946530d5c82a944d0492e5c65168bb5b24d6b
parent2d14a4def4fc87cb2d2712f7841b45189d75e301
tcp: tcp_cong_control helper

Refactor and consolidate cwnd and rate updates into a new function
tcp_cong_control().

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Eric Dumazet <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c