Re: [PATCH v2] Bluetooth: Fix incorrectly overriding conn->src_type

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

 



Hi Johan,

> The src_type member of struct hci_conn should always reflect the address
> type of the src_member. It should never be overridden. There is already
> code in place in the command status handler of HCI_LE_Create_Connection
> to copy the right initiator address into conn->init_addr_type.
> 
> Without this patch, if privacy is enabled, we will send the wrong
> address type in the SMP identity address information PDU (it'll e.g.
> contain our public address but a random address type).
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> v2: Reworded misleading commit message
> 
> net/bluetooth/hci_conn.c | 5 -----
> 1 file changed, 5 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