aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-04-10 15:32:21 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-13 14:42:35 +0200
commit0f66c31eb6c457a8013c7093fd3204e7d8808115 (patch)
tree3da78a6b8f0a8b09200a8b1479eedaec10888e15 /tools/perf/scripts/python
parentbe4692e5e04a063119de9a74471504ab7ec39d1a (diff)
staging: wfx: fix race between configure_filter and remove_interface
wfx_remove_interface() and wfx_configure_filter() can be run concurrently. Therefore, this patch protect access to the list of interfaces from wfx_configure_filter(). Notice that wfx_configure_filter() now lock "conf_lock" and "scan_lock". Beside that, wfx_hw_scan_work() also access to the same locks. So we have to lock them in same order to avoid any deadlock. Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions