diff options
author | Niels Dossche <dossche.niels@gmail.com> | 2022-04-23 00:31:17 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-05-13 13:05:49 +0200 |
commit | 5e2b6064cbc5fd582396768c5f9583f65085e368 (patch) | |
tree | 5d7b8cec2aab7b03a21f7313cd481d8f28f31e0c /drivers/bluetooth/hci_ll.c | |
parent | fb048cae51bacdfbbda2954af3c213fdb1d484f4 (diff) | |
download | lwn-5e2b6064cbc5fd582396768c5f9583f65085e368.tar.gz lwn-5e2b6064cbc5fd582396768c5f9583f65085e368.zip |
Bluetooth: protect le accept and resolv lists with hdev->lock
Concurrent operations from events on le_{accept,resolv}_list are
currently unprotected by hdev->lock.
Most existing code do already protect the lists with that lock.
This can be observed in hci_debugfs and hci_sync.
Add the protection for these events too.
Fixes: b950aa88638c ("Bluetooth: Add definitions and track LE resolve list modification")
Fixes: 0f36b589e4ee ("Bluetooth: Track LE white list modification via HCI commands")
Signed-off-by: Niels Dossche <dossche.niels@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/hci_ll.c')
0 files changed, 0 insertions, 0 deletions