From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] fix race in AF_UNIX Date: Mon, 18 Jun 2007 02:59:45 -0700 (PDT) Message-ID: <20070618.025945.123705241.davem@davemloft.net> References: <20070618.024807.45712241.davem@davemloft.net> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: akpm@linux-foundation.org, viro@ftp.linux.org.uk, alan@lxorguk.ukuu.org.uk, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: miklos@szeredi.hu Return-path: Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:50255 "EHLO sunset.davemloft.net" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1761352AbXFRJ71 (ORCPT ); Mon, 18 Jun 2007 05:59:27 -0400 In-Reply-To: Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Miklos Szeredi Date: Mon, 18 Jun 2007 11:55:19 +0200 > It's doing trylocks and releasing all those locks within the same spin > locked region, how the f**k can that deadlock? The case I'm very concerned about is the interactions of your new code with the unix_state_double_lock() stuff I added recently to fix another bug.