]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Dec 2010 17:38:37 +0000 (09:38 -0800)
commit5d39ac5a9c135f69b2e6170e6c204d20c2f310c7
treeb1c37e988a51f9823471a5d6ac83023ed4f06197
parent39b2cc0a3806b0096301e20ccb44dfbc697e6fb5
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