Bluetooth: Fix missing rcu_read_unlock() in hci_bdaddr_is_paired()
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 11 Mar 2015 06:55:51 +0000 (08:55 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 11 Mar 2015 07:52:32 +0000 (08:52 +0100)
commit87c8b28d291de9999e9da2ef5d4165861983eb83
treed941295317ef4681019e0fda1f41a898dbbb86ba
parentbeb1c21b8ed4dc8aadead65885e89d60a727c54d
Bluetooth: Fix missing rcu_read_unlock() in hci_bdaddr_is_paired()

When finding a matching LTK the rcu_read_unlock() function was failing
to release the RCU read lock. This patch adds the missing call to
rcu_reaD_unlock().

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/hci_core.c