Thread (2 messages) 2 messages, 2 authors, 2011-01-19

Re: [PATCH] bluetooth: Fix failure to release lock in read_index_list() when mem alloc fails.

flat view

From: Gustavo F. Padovan <hidden>
Date: 2011-01-19 03:38:33
Also in: linux-bluetooth, lkml

Hi Jesper,

* Jesper Juhl [off-list ref] [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 <redacted>
---
 mgmt.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Patch has been applied. Thanks.

-- 
Gustavo F. Padovan
http://profusion.mobi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help