Correct a bug where incoming connections do not properly initialize the
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 16 Dec 2004 03:37:30 +0000 (03:37 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 16 Dec 2004 03:37:30 +0000 (03:37 +0000)
commit421de19e31318721c95ddb298c1c734933a2a615
tree0d7bbf3c7d4e2177e660b794acec95b03dd1ed2e
parent289262cf2cd97afdab04cf4e66acc08ca499abc7
Correct a bug where incoming connections do not properly initialize the
inflight bandwidth calculator.

Reorg the code a bit, removing random initialization elsewhere and putting
it all in one place.

Add an idle check and a pure-ack check.

Reported-by: Dan Nelson <dnelson@allantgroup.com>
sys/netinet/tcp_subr.c
sys/netinet/tcp_usrreq.c