Gustavo Padovan
dc2a0e20fb
Bluetooth: Add missing lock nesting notation
This patch fixes the following report, it happens when accepting rfcomm
connections:
[ 228.165378] =============================================
[ 228.165378] [ INFO: possible recursive locking detected ]
[ 228.165378] 3.7.0-rc1-00536-gc1d5dc4 #120 Tainted: G W
[ 228.165378] ---------------------------------------------
[ 228.165378] bluetoothd/1341 is trying to acquire lock:
[ 228.165378] (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+...}, at:
[<ffffffffa0000aa0>] bt_accept_dequeue+0xa0/0x180 [bluetooth]
[ 228.165378]
[ 228.165378] but task is already holding lock:
[ 228.165378] (sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM){+.+...}, at:
[<ffffffffa0205118>] rfcomm_sock_accept+0x58/0x2d0 [rfcomm]
[ 228.165378]
[ 228.165378] other info that might help us debug this:
[ 228.165378] Possible unsafe locking scenario:
[ 228.165378]
[ 228.165378] CPU0
[ 228.165378] ----
[ 228.165378] lock(sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM);
[ 228.165378] lock(sk_lock-AF_BLUETOOTH-BTPROTO_RFCOMM);
[ 228.165378]
[ 228.165378] *** DEADLOCK ***
[ 228.165378]
[ 228.165378] May be due to missing lock nesting notation
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
|
2012-12-03 15:59:10 -02:00 |
| .. |
|
bnep
|
Bluetooth: Remove unnecessary include export.h
|
2012-11-01 20:27:04 -02:00 |
|
cmtp
|
Bluetooth: Replace include linux/module.h with linux/export.h
|
2012-10-24 00:44:05 -02:00 |
|
hidp
|
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
|
2012-10-19 15:22:27 -04:00 |
|
rfcomm
|
Bluetooth: Add missing lock nesting notation
|
2012-12-03 15:59:10 -02:00 |
|
a2mp.c
|
Bluetooth: Rename ctrl_id to remote_amp_id
|
2012-11-01 20:27:11 -02:00 |
|
af_bluetooth.c
|
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next
|
2012-10-19 15:22:27 -04:00 |
|
amp.c
|
Bluetooth: Set local_amp_id after getting Phylink Completed evt
|
2012-11-20 15:54:44 -02:00 |
|
hci_conn.c
|
Bluetooth: Add put(hcon) when deleting hchan
|
2012-11-01 20:27:03 -02:00 |
|
hci_core.c
|
Bluetooth: Remove OOB data if device was discovered in band
|
2012-11-20 16:03:15 -02:00 |
|
hci_event.c
|
Bluetooth: Fix updating advertising state flags and data
|
2012-11-18 23:03:01 -02:00 |
|
hci_sock.c
|
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
|
2012-09-28 14:40:49 -04:00 |
|
hci_sysfs.c
|
Bluetooth: Use %pMR in sprintf/seq_printf instead of batostr
|
2012-09-27 18:10:15 -03:00 |
|
Kconfig
|
Bluetooth: trivial: Remove newline before EOF
|
2012-10-24 00:42:47 -02:00 |
|
l2cap_core.c
|
Bluetooth: AMP: Set no FCS for incoming L2CAP chan
|
2012-11-20 15:55:22 -02:00 |
|
l2cap_sock.c
|
Bluetooth: Start channel move when socket option is changed
|
2012-10-24 00:26:30 -02:00 |
|
lib.c
|
bluetooth: Remove unneeded batostr function
|
2012-09-27 18:10:43 -03:00 |
|
Makefile
|
Bluetooth: AMP: Use HCI cmd to Read Loc AMP Assoc
|
2012-09-27 17:10:32 -03:00 |
|
mgmt.c
|
Bluetooth: Use proper invalid value for tx_power
|
2012-11-18 23:03:00 -02:00 |
|
sco.c
|
Bluetooth: Use %pMR in sprintf/seq_printf instead of batostr
|
2012-09-27 18:10:15 -03:00 |
|
smp.c
|
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless
|
2012-10-23 11:41:46 -04:00 |