net: tcp: refactor reinitialization of congestion control
authorDaniel Borkmann <dborkman@redhat.com>
Mon, 5 Jan 2015 22:57:45 +0000 (23:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Jan 2015 03:55:24 +0000 (22:55 -0500)
commit29ba4fffd396f4beefe34d24d7bcd86cb5c3e492
tree7fade0d785249024d74bba7c36528244591f9581
parente715b6d3a5ef55834778d49224e60e8ccb5bf45f
net: tcp: refactor reinitialization of congestion control

We can just move this to an extra function and make the code
a bit more readable, no functional change.

Joint work with Florian Westphal.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cong.c