summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-09-14 23:28:25 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-09-22 10:47:54 +0200
commitcc45f313d85533d647ce619326302aad6f797c14 (patch)
tree5510f141f8d7a7baa31a81983e1f6fe28227dec2 /tools/perf/scripts/python
parenta10a2f80476d166fd81c361ec0319493671b694e (diff)
downloadlinux-cc45f313d85533d647ce619326302aad6f797c14.tar.gz
linux-cc45f313d85533d647ce619326302aad6f797c14.zip
wifi: cfg80211: preserve hidden-group beacon IE ownership
A hidden-group probe-response entry borrows its beacon IEs from the group's beacon entry. cfg80211_update_assoc_bss_entry() can pass such an entry to cfg80211_update_known_bss() when merging scan entries after a channel switch. Copying the borrowed beacon_ies into the associated entry gives the same allocation two owners. Releasing the group's beacon entry can then leave the associated entry pointing to freed IEs, which are freed again when that entry is released. Skip beacon IE replacement when the source entry belongs to a hidden group. Preserve probe-response processing, the subsequent metadata updates, and the existing rejection path for conflicting hidden beacon updates. Fixes: 0afd425b1b64 ("cfg80211: fix duplicated scan entries after channel switch") Reported-by: Yilin Zhang <yilinzhang@moonshot.ai> Closes: https://lore.kernel.org/linux-wireless/20260901080427.1983015-1-yilinzhang@moonshot.ai/ Assisted-by: Codex:gpt-6-astra Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions