]> 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)
commitf14085a8b110a7dda33f86b28c6f76e9fe1fd51e
treecfd9b3c5ce0e82941ebbe115ef069f19a4755457
parentbf484f27bec265ad23c4a195d0156f7fd00d7bfc
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