]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit7c104dc5589979f681c2cc40c7a10c4e9372c590
tree3a02563966b1f5f6c047bb340108251508318b0a
parentf303a1bcba52f29db03b0662643e7116e81e9ce8
[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