Skip to contentSkip to conversation

Bluetooth: Don't copy L2CAP LE signalling to raw sockets

PATCH Applied Marcel Holtmann 2 participants 2 messages Oct 3, 2013

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 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.

---
 net/bluetooth/l2cap_core.c | 2 --
 1 file changed, 2 deletions(-)
net/bluetooth/l2cap_core.c +0 -2
index 0661ca6..65c5371 100644
@@ -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
#1 lore raw

Hi 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.

---
 net/bluetooth/l2cap_core.c | 2 --
 1 file changed, 2 deletions(-)

Applied to bluetooth-next. Thanks.

Johan