Skip to content

Bluetooth: Various SMP cleanups & fixes

[email protected] linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Bluetooth: Fix missing hdev locking in smp_cmd_ident_addr_infonet/bluetooth/smp.c+6 -20 replies
2/6Bluetooth: Add dedicated AES instance for each SMP contextnet/bluetooth/smp.c+11 -00 replies
3/6Bluetooth: Update SMP crypto functions to take the SMP contextnet/bluetooth/smp.c+19 -290 replies
4/6Bluetooth: Remove unnecessary hci_dev_unlock for smp_user_confirm_replynet/bluetooth/mgmt.c+0 -70 replies
5/6Bluetooth: Fix missing check for SMP session in smp_user_confirm_replynet/bluetooth/smp.c+1 -10 replies
6/6Bluetooth: Remove unnecessary hcon->smp_conn variableinclude/net/bluetooth/hci_core.h net/bluetooth/smp.c+1 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] Bluetooth: Various SMP cleanups & fixes

Hi,

Here's a set of cleanups and fixes for SMP. I'd consider all of them as bluetooth-next material, but it could be debated whether the first patch should go to bluetooth.git first (I don't have any obvious way of exploiting it so I don't consider it very critical).

Johan

----------------------------------------------------------------
Johan Hedberg (6):
Bluetooth: Fix missing hdev locking in smp_cmd_ident_addr_info
Bluetooth: Add dedicated AES instance for each SMP context
Bluetooth: Update SMP crypto functions to take the SMP context
Bluetooth: Remove unnecessary hci_dev_unlock for smp_user_confirm_reply
Bluetooth: Fix missing check for SMP session in smp_user_confirm_reply
Bluetooth: Remove unnecessary hcon->smp_conn variable

 include/net/bluetooth/hci_core.h |  1 -
 net/bluetooth/mgmt.c             |  7 ----
 net/bluetooth/smp.c              | 73 ++++++++++++++++++++------------------
 3 files changed, 38 insertions(+), 43 deletions(-)