diff options
author | Jesper Juhl | 2011-01-14 00:18:49 +0100 |
---|---|---|
committer | Gustavo F. Padovan | 2011-02-08 01:40:04 -0200 |
commit | b2c60d42db0fea1e6c4345739601024863566a13 (patch) | |
tree | 1d2faaded28811c36d13bf968f5ffe92e4fe3564 /net/bluetooth/l2cap.c | |
parent | 80f5585a292d087856cbc1ddc64d4f7477244b46 (diff) |
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>
Diffstat (limited to 'net/bluetooth/l2cap.c')
0 files changed, 0 insertions, 0 deletions