Hi, Here's v2 with feedback from Szymon taken into account as well as a couple of smaller fixes I spotted myself. >From the original cover letter: " This set of patches includes various cleanups and fixes to SMP. The two major changes are: * Fix SMP context locking * Be strict about allowed SMP PDUs and default to dropping unexpected data The commit messages themselves contain a lenghtier description and justification of design choices. " Johan ---------------------------------------------------------------- Johan Hedberg (7): Bluetooth: Remove unnecessary checks after canceling SMP security timer Bluetooth: Don't take any action in smp_resume_cb if not encrypted Bluetooth: Move identity address update behind a workqueue Bluetooth: Remove unnecessary deferred work for SMP key distribution Bluetooth: Fix locking of the SMP context Bluetooth: Fix calling smp_distribute_keys() when still waiting for keys Bluetooth: Add strict checks for allowed SMP PDUs include/net/bluetooth/hci_core.h | 1 - include/net/bluetooth/l2cap.h | 3 +- net/bluetooth/l2cap_core.c | 10 +- net/bluetooth/smp.c | 230 +++++++++++++++++++++-------------- net/bluetooth/smp.h | 2 + 5 files changed, 154 insertions(+), 92 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