Skip to content
Commit 5781bb8a authored by Niels Dossche's avatar Niels Dossche Committed by Greg Kroah-Hartman
Browse files

Bluetooth: protect le accept and resolv lists with hdev->lock

[ Upstream commit 5e2b6064 ]

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: b950aa88 ("Bluetooth: Add definitions and track LE resolve list modification")
Fixes: 0f36b589

 ("Bluetooth: Track LE white list modification via HCI commands")
Signed-off-by: default avatarNiels Dossche <dossche.niels@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8a2dbdec
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment