Skip to content

Bluetooth: Fix hci_dev_open race condition

[email protected] linux-bluetooth 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Bluetooth: Refactor hci_dev_open to a separate hci_dev_do_open functionnet/bluetooth/hci_core.c+20 -100 replies
2/2Bluetooth: Fix workqueue synchronization in hci_dev_opennet/bluetooth/hci_core.c+10 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMarcel Holtmann
1/2A-b
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Bluetooth: Fix hci_dev_open race condition

Hi,

Here's an updated set including fixes based on feedback. The patches should go to bluetooth.git, but I'm not sure how important it is to try to get them to the stable tree since we haven't had this issue reported with the Intel setup procedure which (afaik) should be the only one that could be affected in older kernels.

Johan

----------------------------------------------------------------
Johan Hedberg (2):
Bluetooth: Refactor hci_dev_open to a separate hci_dev_do_open function
Bluetooth: Fix workqueue synchronization in hci_dev_open

 net/bluetooth/hci_core.c | 40 ++++++++++++++++++++++++++++++----------
 1 file changed, 30 insertions(+), 10 deletions(-)