aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2021-05-17 22:18:21 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-19 17:54:50 +0200
commitd5af74ead205c87c3f4ef479dc937a8e628613a0 (patch)
treea44ca85a709a44478b3238988dd2d3e947a63732 /tools/perf/scripts/python
parent0c21b72a7f1983346fcb47eec2e0dd7fa0ad4391 (diff)
staging: rtl8188eu: use safe iterator in rtw_free_network_queue
rtw_free_network_queue iterates over the scanned wireless networks and calls _rtw_free_network for each of them. In some cases, _rtw_free_network removes a network from the list. We have to use list_for_each_entry_safe if we remove list entries while we iterate over a list. Fixes: 23017c8842d2 ("staging: rtl8188eu: Use list iterators and helpers") Signed-off-by: Martin Kaiser <[email protected]> Reviewed-by: Dan Carpenter <[email protected]> Reviewed-by: Guenter Roeck <[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