tcp: use TCP_INIT_CWND in tcp_fixup_sndbuf()
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 18:24:42 +0000 (18:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Oct 2011 20:53:30 +0000 (16:53 -0400)
commit06a59ecb921de1d44efcf2cdf543bc689fe2e0d8
treecfd9b3c5ce0e82941ebbe115ef069f19a4755457
parentfddf86fc4699a5fbabe6b8bda67613dbd57cbe47
tcp: use TCP_INIT_CWND in tcp_fixup_sndbuf()

Initial cwnd being 10 (TCP_INIT_CWND) instead of 3, change
tcp_fixup_sndbuf() to get more than 16384 bytes (sysctl_tcp_wmem[1]) in
initial sk_sndbuf

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_input.c