diff options
| author | Felix Fietkau <nbd@nbd.name> | 2026-09-16 11:48:32 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-09-22 10:47:55 +0200 |
| commit | 7f93ca31f7fd9b42e7d692f59514436d448ac908 (patch) | |
| tree | 6264b47614587ea4c4458615ff47309901cd39b8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | cc45f313d85533d647ce619326302aad6f797c14 (diff) | |
| download | linux-7f93ca31f7fd9b42e7d692f59514436d448ac908.tar.gz linux-7f93ca31f7fd9b42e7d692f59514436d448ac908.zip | |
wifi: mac80211: prevent AP VLAN tx from other interfaces
Since the station lookup was factored out of ieee80211_build_hdr(),
ieee80211_lookup_ra_sta() uses sta_info_get_bss() for all AP and AP VLAN
frames, not only for control port frames. A unicast frame sent on one
interface thus matches a station of a different VLAN of the same BSS and
is transmitted to it.
Only match stations of the interface the frame is sent on, except for
control port frames, since those may be sent for VLAN stations directly
on the BSS interface.
Fixes: 97ffe75791b3 ("mac80211: factor out station lookup from ieee80211_build_hdr()")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20260916094833.164219-1-nbd@nbd.name
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
