These are bug fixes reported by PVS studio. Later patches can consolidate the FOREACH_SAFE macros, but these patches are intended to fix the current bugs in main and stable branches.
Stephen Hemminger (2): net/qede: fix use after free bus/fslmc: fix use after free drivers/bus/fslmc/portal/dpaa2_hw_dpio.c | 10 +++++++++- drivers/net/qede/qede_filter.c | 20 ++++++++++++-------- 2 files changed, 21 insertions(+), 9 deletions(-) -- 2.47.2