]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Bluetooth: hci_sync: unlock on error in hci_inquiry_result_with_rssi_evt()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 11 Jan 2022 07:23:19 +0000 (10:23 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:55 +0000 (13:57 +0200)
commite5d6d748f8764824a40ea938b696cdcb9a758ef8
tree53208568b7e2c4fa4ae3bd0fea405510cc3feac3
parent9549ac189454a588d90989b061b064a5b75f88a6
Bluetooth: hci_sync: unlock on error in hci_inquiry_result_with_rssi_evt()

[ Upstream commit c07ba878ca199a6089cdb323bf526adbeeb4201f ]

Add unlocks to two error paths in hci_inquiry_result_with_rssi_evt().

Fixes: fee645033e2c ("Bluetooth: hci_event: Use skb_pull_data when processing inquiry results")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/bluetooth/hci_event.c