Bluetooth: Fix initiator/responder addresses for SMP
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Bluetooth: Add protections for updating local random addressnet/ net/ | +32 | 0 replies | |
| 2/4 | Bluetooth: Fix updating connection state to BT_CONNECT too earlynet/ | +2 | 0 replies | |
| 3/4 | Bluetooth: Track LE initiator and responder address informationinclude/ net/ | +82 | 0 replies | |
| 4/4 | Bluetooth: Use hdev->init/resp_addr values for smp_c1 functionnet/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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(-)