ip_output() Error Handling in tcp_output()

Chuck Swiger cswiger at mac.com
Wed Mar 13 20:36:03 UTC 2013


Hi--

On Mar 13, 2013, at 8:21 AM, Matt Miller wrote:
> If we have a connection that has received a SYN and ip_output()
> returns, say, EHOSTUNREACH, is there anything that guarantees the
> connection would always eventually be dropped if the condition
> persists?

If the local TCP stack is unable to reply with a SYN-ACK, then it hasn't established a connection yet because it cannot proceed through the 3WHS to ESTAB.  It will stay in LISTEN state.

Regards,
-- 
-Chuck



More information about the freebsd-net mailing list