Messages in this thread | | | Subject | Re: Linux 3.1-rc9 | From | Eric Dumazet <> | Date | Wed, 02 Nov 2011 18:53:32 +0100 |
| |
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@gmail.com> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |