summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2025-11-05 16:03:42 +0100
committerJohannes Berg <johannes.berg@intel.com>2025-11-10 10:38:49 +0100
commit29cc798e7061e603843091af2f17b5b25009e7b8 (patch)
treee38fad092696e755a2c909a32cd8b6f060bdd246 /tools/perf/scripts/python/git@git.tavy.me:linux.git
parent1a1cad924e8a60252132446fbba1284035010b4f (diff)
wifi: mac80211: make link iteration safe for 'break'
The current link iteration macros for_each_sdata_link() and for_each_sdata_link_rcu() are various nested for loops, but because they iterate all sdata instances and then all links inside, using 'break' inside the iteration doesn't actually break out of the whole iteration. Make it work by tracking whether or not the inner iteration (over links) actually completed, if it broke out then given list_for_each_entry() it still iterates all sdata instances but won't go into them. Link: https://patch.msgid.link/20251105160431.c21956654fc0.I8d4739af061c44c57d172f19a15303a44ad1e596@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions