]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
Bluetooth: Fix failure to release lock in read_index_list()
authorJesper Juhl <jj@chaosbits.net>
Thu, 13 Jan 2011 23:18:49 +0000 (00:18 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
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 <jj@chaosbits.net>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/mgmt.c