From: David Miller Subject: Re: possible recursive locking in udp4_lib_rcv Date: Sat, 09 Aug 2008 00:36:50 -0700 (PDT) Message-ID: <20080809.003650.78513833.davem@davemloft.net> References: <20080808143741.GA20777@gondor.apana.org.au> <20080808150108.GA21048@gondor.apana.org.au> <489D13F9.4000805@redhat.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: herbert@gondor.apana.org.au, m.s.tsirkin@gmail.com, linux-kernel@vger.kernel.org, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org To: haoki@redhat.com Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:45897 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1753576AbYHIHgt (ORCPT ); Sat, 9 Aug 2008 03:36:49 -0400 In-Reply-To: <489D13F9.4000805@redhat.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Hideo AOKI Date: Fri, 08 Aug 2008 23:50:17 -0400 > Hello Herbert, > > Herbert Xu wrote: > > On Fri, Aug 08, 2008 at 10:37:41PM +0800, Herbert Xu wrote: > >> Never mind, I see the reason why it's there. What we should do > >> is drop the lock when we hit an encapsulated socket since they > >> don't need it at all. > > > > Here is the patch: > > > > udp: Drop socket lock for encapsulated packets > > Thank very much for fixing the bug. Indeed, thanks Herbert. Applied to net-2.6, and queued up for -stable.