[Bug 217637] One TCP connection accepted TWO times

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 21 03:08:32 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217637

--- Comment #74 from Mike Karels <karels at freebsd.org> ---
In responding to an earlier comment directed to me, and to the comments since:

This connection is dead.  Only an RST and CLOSED state apply.  Data cannot be
delivered to the application, which has lost the handle to this connection, and
may not even be alive in some cases.  TCP cannot wait for a FIN, for example,
because there may be gigabytes of data to deliver before the FIN, and there is
no where for them to go.

fwiw, I added the original version of this code about 30 years ago.  I believe
it was in 4.3BSD.  It is still correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list