summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2026-09-08 14:28:21 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-09 14:51:31 +0200
commit50d3d79dc0743b616afb00d01a626c76758721f7 (patch)
treeb539a0245e2b87672b62bb70228ff99b3c4836f7 /tools/perf/scripts/python/stackcollapse.py
parentae97fff6495a8764bc0ef281cfe5444f701e527f (diff)
downloadlinux-50d3d79dc0743b616afb00d01a626c76758721f7.tar.gz
linux-50d3d79dc0743b616afb00d01a626c76758721f7.zip
wifi: mac80211: set up the TX info early to fix failure paths
The previous commit 2c51457d930f ("wifi: mac80211: free ack status frame on TX header build failure") cleaned up the leak, but still left the code a bit messy and the failed SKB didn't get reported to userspace. Fix this up by initialising skb->cb[] earlier, which allows using ieee80211_free_txskb() and therefore reports it for the failure in ieee80211_build_hdr(), and unifies the ieee80211_skb_resize() failure path with it. Assisted-by: LLM Fixes: c3e7724b6bc2 ("mac80211: use ieee80211_free_txskb to fix possible skb leaks") Link: https://patch.msgid.link/20260908122838.201719-22-johannes@sipsolutions.net Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions