tcp: Bug fix in initialization of receive window.
authorNandita Dukkipati <nanditad@google.com>
Fri, 3 Dec 2010 13:33:44 +0000 (13:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 17:38:37 +0000 (09:38 -0800)
commitb1afde60f2b9ee8444fba4e012dc99a3b28d224d
treeb1c37e988a51f9823471a5d6ac83023ed4f06197
parentce9aeb583a1071304d0e4ab8db600bfc8a6a1b44
tcp: Bug fix in initialization of receive window.

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>
net/ipv4/tcp_output.c