aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorMartin Kaiser <[email protected]>2021-05-17 22:18:23 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-19 17:54:51 +0200
commit39b19c63a39a2de6516383774a529287f04a243e (patch)
treeed57f68871414053da67cba050eee730c522a911 /tools/perf/scripts/python/stackcollapse.py
parent565a45a1c301908b169eeae56f21b9f306f6346d (diff)
staging: rtl8188eu: use safe iterator in expire_timeout_chk
In the first loop in expire_timeout_chk, we may call rtw_free_stainfo and remove an entry from auth_list. In the second loop, we may call list_del_init on our list. Use list_for_each_entry_safe for both loops. Fixes: 23017c8842d2 ("staging: rtl8188eu: Use list iterators and helpers") Signed-off-by: Martin Kaiser <[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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions