]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tcp: Bug fix in initialization of receive window.
authorNandita Dukkipati <nanditad@google.com>
Fri, 3 Dec 2010 13:33:44 +0000 (13:33 +0000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 17 Apr 2011 20:16:02 +0000 (16:16 -0400)
commit9436887e4dd873e46337048a48d17aa413cfc83a
treebac8c0cbbd4db4c8a70219eed99ab1923631b1c2
parent8b95a0a46853086fad423fc1ede3c81b28f90000
tcp: Bug fix in initialization of receive window.

commit b1afde60f2b9ee8444fba4e012dc99a3b28d224d upstream

The bug has to do with boundary checks on the initial receive window.
If the initial receive window falls between init_cwnd and the
receive window specified by the user, the initial window is incorrectly
brought down to init_cwnd. The correct behavior is to allow it to
remain unchanged.

Signed-off-by: Nandita Dukkipati <nanditad@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
net/ipv4/tcp_output.c