Re: [PATCH] Bluetooth: Fix accepting early data on fixed channels

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

 



Hi Johan,

> On BR/EDR the L2CAP channel instances for fixed channels have so far
> been marked as ready only once the L2CAP information req/rsp procedure
> is complete and we have the fixed channel mask. This could however lead
> to data being dropped if we receive it on the channel before knowing the
> remote mask.
> 
> Since it is valid for a remote to send data this early, simply assume
> that the channel is supported when we receive data on it. So far this
> hasn't been noticed much because of limited use of fixed channels on
> BR/EDR, but e.g. with SMP over BR/EDR this is already now visible with
> automated tests failing randomly.
> 
> Signed-off-by: Johan Hedberg <johan.hedberg@xxxxxxxxx>
> ---
> net/bluetooth/l2cap_core.c | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)

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