]> Git Repo - linux.git/commit - net/bluetooth/mgmt.c
Bluetooth: Fix failure to release lock in read_index_list()
authorJesper Juhl <[email protected]>
Thu, 13 Jan 2011 23:18:49 +0000 (00:18 +0100)
committerGustavo F. Padovan <[email protected]>
Tue, 8 Feb 2011 03:40:04 +0000 (01:40 -0200)
commitb2c60d42db0fea1e6c4345739601024863566a13
tree1d2faaded28811c36d13bf968f5ffe92e4fe3564
parent80f5585a292d087856cbc1ddc64d4f7477244b46
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 <[email protected]>
Signed-off-by: Gustavo F. Padovan <[email protected]>
net/bluetooth/mgmt.c
This page took 0.040575 seconds and 4 git commands to generate.