Skip to content

Bluetooth: Fix initiator/responder addresses for SMP

[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 Latest4 patches 1 replyIn review
  2. v14 patches 1 replyApplied

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Bluetooth: Add protections for updating local random addressnet/bluetooth/hci_core.c net/bluetooth/mgmt.c+32 -20 replies
2/4Bluetooth: Fix updating connection state to BT_CONNECT too earlynet/bluetooth/hci_conn.c+2 -10 replies
3/4Bluetooth: Track LE initiator and responder address informationinclude/net/bluetooth/hci_core.h net/bluetooth/hci_event.c+82 -00 replies
4/4Bluetooth: Use hdev->init/resp_addr values for smp_c1 functionnet/bluetooth/smp.c+6 -160 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/4] Bluetooth: Fix initiator/responder addresses for SMP

Hi,

Here's a second attempt to fix the initiator/responder addresses when using privacy. The main difference to the previous attempt is an added protection to HCI_Set_Random_Address so we don't do that while connecting or advertising, and a clarification for the white list corner case in aptch 3/4 that we're taking a "best effort" approach while lacking full tracking of white list initiated connections.

Johan

----------------------------------------------------------------
Johan Hedberg (4):
Bluetooth: Add protections for updating local random address
Bluetooth: Fix updating connection state to BT_CONNECT too early
Bluetooth: Track LE initiator and responder address information
Bluetooth: Use hdev->init/resp_addr values for smp_c1 function

 include/net/bluetooth/hci_core.h |  4 ++
 net/bluetooth/hci_conn.c         |  3 +-
 net/bluetooth/hci_core.c         | 27 ++++++++++++-
 net/bluetooth/hci_event.c        | 78 ++++++++++++++++++++++++++++++++++++
 net/bluetooth/mgmt.c             |  7 ++++
 net/bluetooth/smp.c              | 22 +++-------
 6 files changed, 122 insertions(+), 19 deletions(-)