[Bug 217637] One TCP connection accepted TWO times

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 17 07:30:23 UTC 2017


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

--- Comment #23 from Sepherosa Ziehau <sepherosa at gmail.com> ---
(In reply to Michael Tuexen from comment #22)

Thank you for the explanation for the ACK w/ data.


As for syncookie usage.  If we use syncookie it probably means two things:
- No INPCB for the connection.  That's why we enter syncache/syncookie code in
the first place.
- No syncache.  Short of memory could be one of the cause.  The connections was
established and dropped (this bug report).

I think it's acceptable and reasonable heuristic to just drop the ACK w/ data
in side syncache before checking the syncookie.

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


More information about the freebsd-net mailing list