]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8f3dbd0548a20a74c3719d4a739ae3cf93c6edb9
treecfd9b3c5ce0e82941ebbe115ef069f19a4755457
parentc2488b0e298ca516234d531e258701d561b199c8
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