diff options
| author | Michał Mirosław <[email protected]> | 2020-02-11 11:35:01 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-02-11 11:15:28 -0800 |
| commit | e2525a95cc0887c7dc0549cb5d0ac3e796e1d54c (patch) | |
| tree | e4897050c1f569c224dfe4dd51cc9fdabed81daa /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4033714d6cbe04893aa0708d1fcaa45dd8eb3f53 (diff) | |
staging: wfx: annotate nested gc_list vs tx queue locking
Lockdep is complaining about recursive locking, because it can't make
a difference between locked skb_queues. Annotate nested locks and avoid
double bh_disable/enable.
[...]
insmod/815 is trying to acquire lock:
cb7d6418 (&(&list->lock)->rlock){+...}, at: wfx_tx_queues_clear+0xfc/0x198 [wfx]
but task is already holding lock:
cb7d61f4 (&(&list->lock)->rlock){+...}, at: wfx_tx_queues_clear+0xa0/0x198 [wfx]
[...]
Possible unsafe locking scenario:
CPU0
----
lock(&(&list->lock)->rlock);
lock(&(&list->lock)->rlock);
Cc: [email protected]
Fixes: 9bca45f3d692 ("staging: wfx: allow to send 802.11 frames")
Signed-off-by: Michał Mirosław <[email protected]>
Link: https://lore.kernel.org/r/5e30397af95854b4a7deea073b730c00229f42ba.1581416843.git.mirq-linux@rere.qmqm.pl
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions