mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
![]() Function set_name_sync() uses hdev->dev_name field to send
HCI_OP_WRITE_LOCAL_NAME command, but copying from data to hdev->dev_name
is called after mgmt cmd was queued, so it is possible that function
set_name_sync() will read old name value.
This change adds name as a parameter for function hci_update_name_sync()
to avoid race condition.
Fixes:
|
||
---|---|---|
.. | ||
bluetooth.h | ||
coredump.h | ||
hci_core.h | ||
hci_drv.h | ||
hci_mon.h | ||
hci_sock.h | ||
hci_sync.h | ||
hci.h | ||
iso.h | ||
l2cap.h | ||
mgmt.h | ||
rfcomm.h | ||
sco.h |