Re: Linux 3.1-rc9

From: Eric Dumazet
Date: Wed Nov 02 2011 - 13:53:38 EST


Le mercredi 02 novembre 2011 Ã 10:46 -0700, Linus Torvalds a Ãcrit :
> On Wed, Nov 2, 2011 at 10:27 AM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> >
> > I believe it might come from commit 0e734419
> > (ipv4: Use inet_csk_route_child_sock() in DCCP and TCP.)
> >
> > In case inet_csk_route_child_sock() returns NULL, we dont release socket
> > lock.
>
> Hmm. I'm not seeing it. We're not even taking the socket lock there.
> Or is it hidden somehow?
>
> Linus

tcp_v4_syn_recv_sock()
{
newsk = tcp_create_openreq_child(sk, req, skb);

...


}

newsk is locked at this point.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/