Bluetooth: SMP fixes & cleanups
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 1 replyIn review
- v15 patches 0 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | Bluetooth: Use L2CAP resume callback to call smp_distribute_keysnet/ net/ net/ | +196 | 0 replies | |
| 2/9 | Bluetooth: Add public l2cap_conn_shutdown() API to request disconnectioninclude/ net/ | +29 | 0 replies | |
| 3/9 | Bluetooth: Call l2cap_conn_shutdown() when SMP recv callback failsnet/ | +19 | 0 replies | |
| 4/9 | Bluetooth: Fix double free of SMP data skbnet/ | +6 | 0 replies | |
| 5/9 | Bluetooth: Add SMP-internal timeout callbacknet/ | +43 | 0 replies | |
| 6/9 | Bluetooth: Remove unused l2cap_conn->security_timerinclude/ net/ | +1 | 0 replies | |
| 7/9 | Bluetooth: Move canceling security_timer into smp_chan_destroy()net/ | +6 | 0 replies | |
| 8/9 | Bluetooth: Always call smp_distribute_keys() from a workqueuenet/ | +26 | 0 replies | |
| 9/9 | Bluetooth: Make smp_chan_destroy() private to smp.cnet/ net/ | +50 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/9] Bluetooth: SMP fixes & cleanups
Hi,
Here's a v2 of all my earlier three patch sets combined. The main change is renaming l2cap_conn_drop to l2cap_conn_shutdown in order to not be confused with the slightly different semantics of hci_conn_drop.
Johan
----------------------------------------------------------------
Johan Hedberg (9):
Bluetooth: Use L2CAP resume callback to call smp_distribute_keys
Bluetooth: Add public l2cap_conn_shutdown() API to request disconnection
Bluetooth: Call l2cap_conn_shutdown() when SMP recv callback fails
Bluetooth: Fix double free of SMP data skb
Bluetooth: Add SMP-internal timeout callback
Bluetooth: Remove unused l2cap_conn->security_timer
Bluetooth: Move canceling security_timer into smp_chan_destroy()
Bluetooth: Always call smp_distribute_keys() from a workqueue
Bluetooth: Make smp_chan_destroy() private to smp.c
include/net/bluetooth/l2cap.h | 5 +- net/bluetooth/l2cap_core.c | 35 +-- net/bluetooth/smp.c | 541 +++++++++++++++++++++----------------- net/bluetooth/smp.h | 3 - 4 files changed, 330 insertions(+), 254 deletions(-)