]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Use bt_cb(skb)->chan to send raw data back
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 21 Oct 2013 20:22:25 +0000 (18:22 -0200)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 21 Oct 2013 20:50:55 +0000 (13:50 -0700)
commit2de12e663c8eace43fa395ca4b245d9db9619062
tree12de86590df4f1576a26d16c07e379eaa03e4eec
parent62a8600408d34463d37c313c4acce2b2a328c51f
Bluetooth: Use bt_cb(skb)->chan to send raw data back

Instead of accessing skb->sk in L2CAP core we now compare the channel
a skb belongs to and not send it back if the channel is same. This change
removes another struct socket usage from L2CAP core.

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap_core.c