Re: Connect hangs for a while before returns -1 with ECONNREFUSED on 3.2 for loopback

Eric Dumazet
2012-02-03T15:15:30Z

Le vendredi 03 février 2012 à 15:38 +0100, Eric Dumazet a écrit :

>
> Hmmm...
>

We omit to send RST packet in tcp_v4_send_reset()

because of this test :

if (skb_rtable(skb)->rt_type != RTN_LOCAL)
return

At this point rt_type is RTN_UNICAST