summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorSlawomir Stepien <sst@poczta.fm>2026-09-14 10:13:50 +0200
committerJohannes Berg <johannes.berg@intel.com>2026-09-14 14:46:55 +0200
commitba7a79b9bc87776c8c1808407a7508a8be3a789e (patch)
treef65f5b114d09c631b3bb9ca297678380d5f7d7e2 /tools/perf/scripts/python/stackcollapse.py
parent50d3d79dc0743b616afb00d01a626c76758721f7 (diff)
wifi: cfg80211: verify if AP_VLAN belongs to the correct AP
The get_vlan() only checks if NL80211_ATTR_STA_VLAN target is an AP/AP_VLAN/P2P_GO interface on the same wiphy. It has no notion of which specific AP a given AP_VLAN belongs to. Fix that by comparing the ethernet addresses of the two net devices. Given VLAN A' must have the same address as AP A. Otherwise, return error code. Signed-off-by: Slawomir Stepien <sst@poczta.fm> Reported-by: Johannes Berg <johannes@sipsolutions.net> Link: https://lore.kernel.org/all/22e7ddfc50d7a6a16c437b876dab5fe223799610.camel@sipsolutions.net/ Link: https://patch.msgid.link/20260914081350.83484-1-sst@poczta.fm 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