Re: [PATCH 2/4] Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel

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

 



Hi Luiz,

> Only sockets will have the chan->data set to an actual sk, channels
> like A2MP would have its own data which would likely cause a crash when
> calling sk_filter, in order to fix this a new callback has been
> introduced so channels can implement their own filtering if necessary.
> 
> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>
> ---
> include/net/bluetooth/l2cap.h |  2 ++
> net/bluetooth/l2cap_core.c    |  7 ++++---
> net/bluetooth/l2cap_sock.c    | 14 ++++++++++++++
> 3 files changed, 20 insertions(+), 3 deletions(-)

patch has been applied to bluetooth-next tree.

Regards

Marcel




[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