linux/net/bluetooth
Gustavo F. Padovan 03a0019481 Bluetooth: invert locking order in connect path
This move some checking code that was in l2cap_sock_connect() to
l2cap_chan_connect(). Thus we can invert the lock calls, i.e., call
lock_sock() before hci_dev_lock() to avoid a deadlock scenario.

Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-12-18 17:07:57 -02:00
..
bnep Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-12-03 08:26:25 +09:00
cmtp Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-12-03 08:26:25 +09:00
hidp Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
rfcomm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth-next 2011-11-09 14:54:33 -05:00
af_bluetooth.c Bluetooth: Handle fragmented skbs in bt_sock_stream_recvmsg() 2011-09-27 18:16:07 -03:00
hci_conn.c Bluetooth: Don't disable tasklets to call hdev->notify() 2011-12-18 17:07:57 -02:00
hci_core.c Bluetooth: convert tx_task to workqueue 2011-12-18 17:07:57 -02:00
hci_event.c Bluetooth: convert tx_task to workqueue 2011-12-18 17:07:57 -02:00
hci_sock.c Bluetooth: convert tx_task to workqueue 2011-12-18 17:07:57 -02:00
hci_sysfs.c Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
Kconfig bluetooth: uses crypto interfaces, select CRYPTO 2011-06-27 15:09:39 -04:00
l2cap_core.c Bluetooth: invert locking order in connect path 2011-12-18 17:07:57 -02:00
l2cap_sock.c Bluetooth: invert locking order in connect path 2011-12-18 17:07:57 -02:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Implement the first SMP commands 2011-06-13 15:11:55 -03:00
mgmt.c Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
sco.c Bluetooth: Replace spin_lock by mutex in hci_dev 2011-12-18 17:07:54 -02:00
smp.c Bluetooth: Centralize SMP pairing failure handling 2011-12-01 22:54:37 +09:00