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