Searched hist:"1857 c19941c87eb36ad47f22a406be5dfe5eff9f" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/bluetooth/ |
H A D | hci_sync.c | diff 1857c19941c87eb36ad47f22a406be5dfe5eff9f Wed May 24 19:11:58 CDT 2023 Zhengping Jiang <jiangzp@google.com> Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
When the HCI_UNREGISTER flag is set, no jobs should be scheduled. Fix potential race when HCI_UNREGISTER is set after the flag is tested in hci_cmd_sync_queue.
Fixes: 0b94f2651f56 ("Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set") Signed-off-by: Zhengping Jiang <jiangzp@google.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
H A D | hci_core.c | diff 1857c19941c87eb36ad47f22a406be5dfe5eff9f Wed May 24 19:11:58 CDT 2023 Zhengping Jiang <jiangzp@google.com> Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
When the HCI_UNREGISTER flag is set, no jobs should be scheduled. Fix potential race when HCI_UNREGISTER is set after the flag is tested in hci_cmd_sync_queue.
Fixes: 0b94f2651f56 ("Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set") Signed-off-by: Zhengping Jiang <jiangzp@google.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|
/openbmc/linux/include/net/bluetooth/ |
H A D | hci_core.h | diff 1857c19941c87eb36ad47f22a406be5dfe5eff9f Wed May 24 19:11:58 CDT 2023 Zhengping Jiang <jiangzp@google.com> Bluetooth: hci_sync: add lock to protect HCI_UNREGISTER
When the HCI_UNREGISTER flag is set, no jobs should be scheduled. Fix potential race when HCI_UNREGISTER is set after the flag is tested in hci_cmd_sync_queue.
Fixes: 0b94f2651f56 ("Bluetooth: hci_sync: Fix queuing commands when HCI_UNREGISTER is set") Signed-off-by: Zhengping Jiang <jiangzp@google.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
|