Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757172Ab1CNSEP (ORCPT ); Mon, 14 Mar 2011 14:04:15 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:42565 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753357Ab1CNSEN (ORCPT ); Mon, 14 Mar 2011 14:04:13 -0400 Date: Mon, 14 Mar 2011 15:04:48 -0300 From: "Gustavo F. Padovan" To: Daniel J Blueman Cc: Linux Kernel , linux-bluetooth@vger.kernel.org Subject: Re: [2.6.38-rc8, patch] fix hci_dev_list locking Message-ID: <20110314180448.GA10117@joana> Mail-Followup-To: Daniel J Blueman , Linux Kernel , linux-bluetooth@vger.kernel.org References: <20110312014749.GB2164@joana> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1517 Lines: 46 Hi Daniel, * Daniel J Blueman [2011-03-13 11:59:27 +0800]: > Hi Gustavo, > > On 12 March 2011 09:47, Gustavo F. Padovan wrote: > > Hi Daniel, > > > > * Daniel J Blueman [2011-03-09 00:07:54 +0800]: > > > >> No response from original post, and it missed getting taken into -rc7 > >> and -rc8, so repost: > >> > >> Release acquired lock on error path, fixing potential hang up. > > > > I already have a patch like this one in my tree, thanks anyway. :) > > I guess I'm not looking in the right public tree, but I still couldn't > detect the fix in: > http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-2.6.git > or: > http://git.kernel.org/?p=linux/kernel/git/padovan/bluetooth-next-2.6.git On bluetooth-next: commit b2c60d42db0fea1e6c4345739601024863566a13 Author: Jesper Juhl Date: Fri Jan 14 00:18:49 2011 +0100 Bluetooth: Fix failure to release lock in read_index_list() If alloc_skb() fails in read_index_list() we'll return -ENOMEM without releasing 'hci_dev_list_lock'. Signed-off-by: Jesper Juhl Signed-off-by: Gustavo F. Padovan -- Gustavo F. Padovan http://profusion.mobi -- 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/