Re: [PATCH v3] Bluetooth: Fix incorrect removing of IRKs

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

 



Hi Johan,

> The commit cad20c278085d893ebd616cd20c0747a8e9d53c7 was supposed to
> fix handling of devices first using public addresses and then
> switching to RPAs after pairing. Unfortunately it missed a couple of
> key places in the code.
> 
> 1. When evaluating which devices should be removed from the existing
> white list we also need to consider whether we have an IRK for them or
> not, i.e. a call to hci_find_irk_by_addr() is needed.
> 
> 2. In smp_notify_keys() we should not be requiring the knowledge of
> the RPA, but should simply keep the IRK around if the other conditions
> require it.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # 4.4+
> ---
> net/bluetooth/hci_request.c | 28 ++++++++++++++++++----------
> net/bluetooth/smp.c         | 16 ----------------
> 2 files changed, 18 insertions(+), 26 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel

--
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