From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: johan.hedberg@gmail.com To: linux-bluetooth@vger.kernel.org Subject: [PATCH 0/4] Bluetooth: SMP LTK fixes Date: Thu, 30 Jan 2014 19:39:56 -0800 Message-Id: <1391139600-15366-1-git-send-email-johan.hedberg@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: Hi, Now that my LTK key distribution patch is already applied I unfortunately uncovered several bugs due to it. The main issue is that the kernel code was not accounting for the possibility of there being two LTKs for the same remote device in the hdev->long_term_keys list. There are still fixes needed on the user space side which I haven't completely sorted out yet (to pushable form - it's more or less working already through). Right now the storage format doesn't allow storing two LTKs for the same device. ---------------------------------------------------------------- Johan Hedberg (4): Bluetooth: Fix long_term_keys debugfs output Bluetooth: Make LTK key type check more readable Bluetooth: Remove unnecessary LTK type check from hci_add_ltk Bluetooth: Fix differentiating stored master vs slave LTK types include/net/bluetooth/hci_core.h | 5 +++-- net/bluetooth/hci_core.c | 31 +++++++++++++++++++++---------- net/bluetooth/hci_event.c | 2 +- net/bluetooth/smp.c | 3 ++- 4 files changed, 27 insertions(+), 14 deletions(-)