Bluetooth: Don't copy L2CAP LE signalling to raw sockets
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 Bluetooth: Don't copy L2CAP LE signalling to raw sockets
The L2CAP raw sockets are only used for BR/EDR signalling. Packets on LE links should not be forwarded there.
Signed-off-by Marcel Holtmann <[email protected]>
--- net/bluetooth/l2cap_core.c | 2 -- 1 file changed, 2 deletions(-)
net/bluetooth/l2cap_core.c +0 -2
@@ -5327,8 +5327,6 @@ static inline void l2cap_le_sig_channel(struct l2cap_conn *conn,struct l2cap_cmd_hdr cmd;int err; -l2cap_raw_recv (conn, skb); -if (hcon->type !=LE_LINK ) goto drop;
Signature · 1 line
1.8.3.1
Johan Hedberg
AppliedHi Marcel,
Quoted 7 lines · Marcel Holtmann
The L2CAP raw sockets are only used for BR/EDR signalling. Packets on LE links should not be forwarded there.
Signed-off-by Marcel Holtmann <[email protected]>--- net/bluetooth/l2cap_core.c | 2 -- 1 file changed, 2 deletions(-)
Applied to bluetooth-next. Thanks.
Johan