Skip to content

Bluetooth: SMP fixes & cleanups

[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 Latest9 patches 1 replyIn review
  2. v15 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9Bluetooth: Use L2CAP resume callback to call smp_distribute_keysnet/bluetooth/l2cap_core.c net/bluetooth/smp.c net/bluetooth/smp.h+196 -1910 replies
2/9Bluetooth: Add public l2cap_conn_shutdown() API to request disconnectioninclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+29 -00 replies
3/9Bluetooth: Call l2cap_conn_shutdown() when SMP recv callback failsnet/bluetooth/smp.c+19 -10 replies
4/9Bluetooth: Fix double free of SMP data skbnet/bluetooth/smp.c+6 -70 replies
5/9Bluetooth: Add SMP-internal timeout callbacknet/bluetooth/smp.c+43 -90 replies
6/9Bluetooth: Remove unused l2cap_conn->security_timerinclude/net/bluetooth/l2cap.h net/bluetooth/l2cap_core.c+1 -180 replies
7/9Bluetooth: Move canceling security_timer into smp_chan_destroy()net/bluetooth/smp.c+6 -60 replies
8/9Bluetooth: Always call smp_distribute_keys() from a workqueuenet/bluetooth/smp.c+26 -160 replies
9/9Bluetooth: Make smp_chan_destroy() private to smp.cnet/bluetooth/smp.c net/bluetooth/smp.h+50 -520 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/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(-)