From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dumazet Subject: Re: Linux 3.1-rc9 Date: Wed, 02 Nov 2011 18:53:32 +0100 Message-ID: <1320256412.2292.17.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> References: <1318874090.4172.84.camel@twins> <1318879396.4172.92.camel@twins> <1318928713.21167.4.camel@twins> <20111018182046.GF1309@hostway.ca> <20111024190203.GA24410@hostway.ca> <20111025202049.GB25043@hostway.ca> <20111031173246.GA10614@hostway.ca> <1320254854.2292.14.camel@edumazet-HP-Compaq-6005-Pro-SFF-PC> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Thomas Gleixner , Simon Kirby , David Miller , Peter Zijlstra , Linux Kernel Mailing List , Dave Jones , Martin Schwidefsky , Ingo Molnar , Network Development To: Linus Torvalds Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:33370 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755870Ab1KBRxg (ORCPT ); Wed, 2 Nov 2011 13:53:36 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: Le mercredi 02 novembre 2011 =C3=A0 10:46 -0700, Linus Torvalds a =C3=A9= crit : > On Wed, Nov 2, 2011 at 10:27 AM, Eric Dumazet 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 s= ocket > > lock. >=20 > Hmm. I'm not seeing it. We're not even taking the socket lock there. > Or is it hidden somehow? >=20 > Linus tcp_v4_syn_recv_sock() { newsk =3D tcp_create_openreq_child(sk, req, skb); =2E.. =09 } newsk is locked at this point.