Bluetooth: Convert link keys list to use RCU
authorJohan Hedberg <johan.hedberg@intel.com>
Wed, 19 Nov 2014 13:22:22 +0000 (15:22 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 19 Nov 2014 15:19:47 +0000 (16:19 +0100)
commit0378b59770130a994272b176a2a4346dc27361e9
tree38615471a8b13d1e3b4d8d0ad5bfee0b75053249
parentcb6f3f7ace0e61285db22508a9efd8a5aeca0af5
Bluetooth: Convert link keys list to use RCU

This patch converts the hdev->link_keys list to be protected through
RCU, thereby eliminating the need to hold the hdev lock while accessing
the list.

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