[PATCH 0/5] Bluetooth: Further SMP fixes & cleanups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

This patch set should be applied only after my "[PATCH 0/3] Some more
SMP fixes" patch set and the "[PATCH] Bluetooth: Fix double free of SMP
data skb" fix. It contains further cleanup of l2cap_core.c, removing
SMP-specific things from there (this time the security_timer).

The important fix (to my initial l2cap_chan conversion) in this set is
to call smp_distribute_keys() through a separate workqueue. Without this
there will inevitably be a deadlock in l2cap_chan_lock() when trying to
update the identity address for all channels.

Johan

----------------------------------------------------------------
Johan Hedberg (5):
      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 |   1 -
 net/bluetooth/l2cap_core.c    |  18 +----
 net/bluetooth/smp.c           | 166 ++++++++++++++++++++++++--------------
 net/bluetooth/smp.h           |   2 -
 4 files changed, 106 insertions(+), 81 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux