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
..
2012-10-12 09:59:23 +09:00
2012-05-15 20:23:16 -04:00
2012-10-08 15:21:55 -04:00
2012-08-14 21:48:06 -07:00
2012-08-31 16:14:33 -04:00
2012-08-14 21:49:42 -07:00
2012-09-28 14:40:49 -04:00
2012-12-03 15:59:10 -02:00
2012-10-10 22:50:45 -04:00
2012-09-10 16:13:31 -04:00
2012-10-06 03:04:45 +09:00
2012-10-14 13:39:34 -07:00
2012-10-12 13:56:52 -04:00
2012-09-10 15:30:41 -04:00
2012-08-15 21:36:31 -07:00
2012-10-06 03:04:45 +09:00
2012-10-14 13:39:34 -07:00
2012-08-20 14:51:24 -07:00
2012-07-19 10:48:00 -07:00
2012-09-18 16:08:19 -04:00
2012-10-12 13:56:52 -04:00
2012-10-12 13:52:40 -04:00
2012-08-14 21:48:06 -07:00
2012-10-04 15:53:48 -04:00
2012-06-15 15:30:15 -07:00
2012-10-01 17:15:06 -04:00
2012-09-28 14:40:49 -04:00
2012-05-17 18:45:20 -04:00
2012-10-02 11:11:09 -07:00
2012-11-09 17:34:36 +01:00
2012-07-12 07:54:45 -07:00
2012-10-08 17:42:36 -04:00
2012-10-02 13:38:27 -07:00
2012-10-07 00:30:56 -04:00
2012-09-21 13:58:08 -04:00
2012-10-29 00:25:11 +01:00
2012-09-18 16:08:19 -04:00
2012-10-02 11:11:09 -07:00
2012-09-10 15:30:41 -04:00
2012-10-09 13:57:23 -04:00
2012-10-02 13:38:27 -07:00
2012-10-14 13:39:34 -07:00
2012-10-02 13:38:27 -07:00
2012-10-06 03:11:59 +09:00
2012-10-13 10:53:54 +09:00
2012-10-04 15:53:48 -04:00
2012-09-17 13:00:13 -04:00
2012-07-24 13:55:21 -07:00
2012-11-16 14:29:09 -05:00
2012-07-10 23:13:45 -07:00
2012-10-02 13:38:27 -07:00
2012-09-26 21:10:25 -04:00
2012-09-04 14:20:14 -04:00
2012-05-18 01:35:08 -04:00
2012-10-02 20:25:04 -07:00
2012-05-15 20:14:35 -04:00