Re: [PATCH v2 1/2] Bluetooth: Centralize looking up blocked devices to l2cap_recv_frame

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

 



Hi Johan,

> The ATT channel isn't the only one that we should ensure doesn't receive
> data from blocked devices. SMP is another, and in general we don't want
> data packets going to any of the various handlers. Therefore, add a
> single check to the l2cap_recv_frame function.
> 
> The patch fixes at the same time the use of a correct address type. The
> blacklist stores the values with the user space facing triple type
> wheras hci_conn->dst_type uses the HCI address type (0x00 or 0x01).
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> net/bluetooth/l2cap_core.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 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