Skip to content

Bluetooth: Fix more mgmt parameter checks

Johan Hedberg linux-bluetooth 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 2 repliesIn review
  2. v110 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10Bluetooth: Fix checking for correct mgmt_load_link_keys parametersnet/bluetooth/mgmt.c+4 -00 replies
2/10Bluetooth: Fix returning proper mgmt status for Load LTKsnet/bluetooth/mgmt.c+1 -10 replies
3/10Bluetooth: Fix checking for proper key->master value in Load LTKsnet/bluetooth/mgmt.c+9 -00 replies
4/10Bluetooth: Refactor valid LTK data testing into its own functionnet/bluetooth/mgmt.c+8 -10 replies
5/10Bluetooth: Check for valid key->authenticated value for LTKsnet/bluetooth/mgmt.c+2 -00 replies
6/10Bluetooth: Add helper functions for testing bdaddr typesinclude/net/bluetooth/bluetooth.h+23 -00 replies
7/10Bluetooth: Fix checking for valid address type values in mgmt commandsnet/bluetooth/mgmt.c+34 -20 replies
8/10Bluetooth: Fix checking for valid disconnect parameters in unpair_devicenet/bluetooth/mgmt.c+5 -00 replies
9/10Bluetooth: Fix returning proper cmd_complete for mgmt_disconnectnet/bluetooth/mgmt.c+14 -80 replies
10/10Bluetooth: Fix returning proper cmd_complete for mgmt_block/unblocknet/bluetooth/mgmt.c+6 -41 reply

Reviews trailers per patch

3 of 10 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMarcel Holtmann
SeriesA-b
1/10A-b
2/10A-b
3/10
4/10
5/10
6/10
7/10
8/10A-b
9/10
10/10

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 00/10 v2] Bluetooth: Fix more mgmt parameter checks

Hi,

Here's an updated patch set based on feedback from Marcel for the first one.

This one still needs my patch (acked by Marcel)

"Bluetooth: Fix Class of Device indication when powering off"

and Szymons patch (acked by me)

"Bluetooth: Fix pair device command reply if adapter is powered off"

to be applied first to bluetooth-next.git. At least I've got those two in my local tree before this set, so no guarantees that there wont be conflicts if they are not applied first.

Johan