From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Sender: "Gustavo F. Padovan" Date: Wed, 19 Jan 2011 01:38:31 -0200 From: "Gustavo F. Padovan" To: Jesper Juhl Cc: linux-bluetooth@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "David S. Miller" , Marcel Holtmann Subject: Re: [PATCH] bluetooth: Fix failure to release lock in read_index_list() when mem alloc fails. Message-ID: <20110119033831.GB7762@joana> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: List-ID: Hi Jesper, * Jesper Juhl [2011-01-14 00:18:49 +0100]: > If alloc_skb() fails in read_index_list() we'll return -ENOMEM without > releasing 'hci_dev_list_lock'. > > Signed-off-by: Jesper Juhl > --- > mgmt.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Patch has been applied. Thanks. -- Gustavo F. Padovan http://profusion.mobi