linux-stable/net/bluetooth
Johan Hedberg 1f209383f2 Bluetooth: Check that bind() bdaddr type matches connect()
If a socket was bound to an address type other than BR/EDR (such as LE)
we should reject trying to connect it to a BR/EDR address. The same
applies for binding to BR/EDR and trying to connect to non-BR/EDR.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2013-10-14 11:26:21 -07:00
..
bnep Bluetooth: Access BNEP session addresses through L2CAP channel 2013-10-13 20:00:35 +03:00
cmtp Bluetooth: Access CMTP session addresses through L2CAP channel 2013-10-13 20:00:30 +03:00
hidp Bluetooth: Access HIDP session addresses through L2CAP channel 2013-10-13 20:00:33 +03:00
rfcomm Bluetooth: Store RFCOMM address information in its own socket structure 2013-10-13 21:11:23 +03:00
a2mp.c Bluetooth: Remove l2cap_conn->dst usage from AMP manager 2013-10-13 17:43:32 +03:00
a2mp.h Bluetooth: Move a2mp.h header file into net/bluetooth/ 2013-10-11 00:10:05 +02:00
af_bluetooth.c Bluetooth: Adjust header for proc socket information 2013-10-14 14:20:50 +03:00
amp.c Bluetooth: Remove l2cap_conn->dst usage from AMP manager 2013-10-13 17:43:32 +03:00
amp.h Bluetooth: Move amp.h header file into net/bluetooth/ 2013-10-11 00:10:03 +02:00
hci_conn.c Bluetooth: Store source address of HCI connections 2013-10-13 17:47:37 +03:00
hci_core.c Bluetooth: Remove pointless bdaddr_to_le() helper function 2013-10-13 17:45:55 +03:00
hci_event.c Bluetooth: Fix updating advertising data needlessly 2013-10-14 06:48:08 -07:00
hci_sock.c Bluetooth: Move skb->dev assignment for hdev->send into central place 2013-10-11 00:10:09 +02:00
hci_sysfs.c PTR_RET is now PTR_ERR_OR_ZERO(): Replace most. 2013-07-15 11:25:01 +09:30
Kconfig Bluetooth: trivial: Remove newline before EOF 2012-10-24 00:42:47 -02:00
l2cap_core.c Bluetooth: Introduce L2CAP channel callback for resuming 2013-10-14 14:23:24 +03:00
l2cap_sock.c Bluetooth: Check that bind() bdaddr type matches connect() 2013-10-14 11:26:21 -07:00
lib.c bluetooth: Remove unneeded batostr function 2012-09-27 18:10:43 -03:00
Makefile Bluetooth: Enable -D__CHECK_ENDIAN__ for sparse by default 2013-10-02 09:10:05 +03:00
mgmt.c Bluetooth: Convert Set Discoverable to use an asynchronous request 2013-10-14 11:23:29 -07:00
sco.c Bluetooth: Store SCO address information in its own socket structure 2013-10-13 21:11:20 +03:00
smp.c Bluetooth: Fix coding style violations in SMP handling 2013-10-13 17:48:49 +03:00
smp.h Bluetooth: Move smp.h header file into net/bluetooth/ 2013-10-11 00:10:07 +02:00