linux-hardened/net/bluetooth
Andrei Emeltchenko 3cabbfdad3 Bluetooth: A2MP: Do not reference hci_conn
Make A2MP channel special channel which do not reference hci_conn.
This prevents from keeping ACL connection open when all L2CAP
channels got closed.

hci_conn_hold and hci_conn_put are not reference counts on the
hci_conn structure in the typical way.  They are reference counts for
the ACL.  When you do the last hci_conn_put, the ACL is disconnected
after a timeout.

Reported-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
2012-06-05 06:34:14 +03:00
..
bnep Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
cmtp Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
hidp Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
rfcomm Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
a2mp.c Bluetooth: A2MP: Do not reference hci_conn 2012-06-05 06:34:14 +03:00
af_bluetooth.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
hci_conn.c Bluetooth: A2MP: AMP Manager basic functions 2012-06-05 06:34:11 +03:00
hci_core.c Bluetooth: Really fix registering hci with duplicate name 2012-06-05 06:34:10 +03:00
hci_event.c Bluetooth: Use __constant modifier in HCI code 2012-06-05 06:34:09 +03:00
hci_sock.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
hci_sysfs.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
Kconfig Bluetooth: Fix Kconfig help description 2012-02-29 18:50:25 +02:00
l2cap_core.c Bluetooth: A2MP: Do not reference hci_conn 2012-06-05 06:34:14 +03:00
l2cap_sock.c Bluetooth: Move check for backlog size to l2cap_sock.c 2012-06-05 06:34:11 +03:00
lib.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
Makefile Bluetooth: A2MP: Create A2MP channel 2012-06-05 06:34:11 +03:00
mgmt.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
sco.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00
smp.c Bluetooth: Remove unnecessary headers include 2012-06-05 06:34:08 +03:00