Define "connected" as
authorMichael Brown <mcb30@etherboot.org>
Tue, 9 Jan 2007 05:01:22 +0000 (05:01 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 9 Jan 2007 05:01:22 +0000 (05:01 +0000)
commit2eeb7c4fe7959a2a7507375e231e86ae74c0629d
treee91f54ab19026d171b4c0c7204361e0b1a917d04
parent70cc3a164a87b7b7c3da6654da3cfb9cf1fc4b09
Define "connected" as

  "when SYN is ACKed and we have already received SYN", or
  "when SYN is received and we have already had SYN ACKed"

rather than just

  "when SYN is ACKed"

This avoids spuriously calling the connected() method when we receive
a RST,ACK in response to a SYN.
src/net/tcp.c