Bluetooth: SMP fixes/improvements
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest8 patches 1 replyIn review
- v37 patches 0 repliesSuperseded
- v27 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 7 patches | 2 replies | Superseded |
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | Bluetooth: Remove unnecessary checks after canceling SMP security timernet/ | +1 | 0 replies | |
| 2/8 | Bluetooth: Don't take any action in smp_resume_cb if not encryptednet/ | +4 | 0 replies | |
| 3/8 | Bluetooth: Move identity address update behind a workqueueinclude/ net/ net/ | +11 | 0 replies | |
| 4/8 | Bluetooth: Remove unnecessary deferred work for SMP key distributionnet/ | +5 | 0 replies | |
| 5/8 | Bluetooth: Fix locking of the SMP contextinclude/ net/ | +44 | 0 replies | |
| 6/8 | Bluetooth: Add define for key distribution masknet/ | +3 | 0 replies | |
| 7/8 | Bluetooth: Fix calling smp_distribute_keys() when still waiting for keysnet/ | +3 | 0 replies | |
| 8/8 | Bluetooth: Add strict checks for allowed SMP PDUsnet/ net/ | +84 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/8] Bluetooth: SMP fixes/improvements
Hi,
This v4 adds has the following changes to previous revisions:
* Add KEY_DIST_MASK define to avoid hard-coded 0x07 values
* Update the last patch to use defines instead of helper functions
* Update the last patch to use a "drop:" label to simplify the if-statment used for dropping data.
Johan
----------------------------------------------------------------
Johan Hedberg (8):
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: Add define for key distribution mask
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 | 225 +++++++++++++++++++++-------------- net/bluetooth/smp.h | 2 + 5 files changed, 147 insertions(+), 94 deletions(-)