diff options
| author | Johannes Berg <johannes.berg@intel.com> | 2026-05-05 15:17:31 +0200 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-05-20 11:57:46 +0200 |
| commit | ae6691b8c1fde1a21579386664fa971c76504f2b (patch) | |
| tree | 3df84a79ed8bed00606b00e63c2e4e9e69eef548 /scripts/const_structs.checkpatch | |
| parent | e12538c5309a5a17673e6fcff404c440c6e0e01c (diff) | |
wifi: mac80211: check stations are removed before MLD change
If an interface changes to/from MLD, then all stations related
to it must have been removed first. This is just natural since
we go from having links to not (or vice versa), but not doing
so also causes crashes in debugfs since vif changing to/from
MLD removes the entire debugfs for the vif, including stations.
Delete all stations but warn in this case, other code should
be handling it, in effect fail fast rather than doing a double
free or use-after-free in debugfs.
Link: https://patch.msgid.link/20260505151731.3d7cbb8b952c.I4ce7b536e8af26d7b115e82fd733734446cc56a4@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
