[TCP]: Congestion control initialization.
authorStephen Hemminger <shemminger@linux-foundation.org>
Tue, 24 Apr 2007 05:32:11 +0000 (22:32 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2007 05:32:11 +0000 (22:32 -0700)
commit4d4d3d1e8807d6aa9822eeedf7fe8500e1b7e38d
tree3a02563966b1f5f6c047bb340108251508318b0a
parentc445a31cd7f469d77acc37538ab43a99530968b8
[TCP]: Congestion control initialization.

Change to defer congestion control initialization.

If setsockopt() was used to change TCP_CONGESTION before
connection is established, then protocols that use sequence numbers
to keep track of one RTT interval (vegas, illinois, ...) get confused.

Change the init hook to be called after handshake.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_cong.c