sst-linux/net/mac80211
Johannes Berg dfe9a04330 wifi: mac80211: prohibit deactivating all links
[ Upstream commit 7553477cbfd784b128297f9ed43751688415bbaa ]

In the internal API this calls this is a WARN_ON, but that
should remain since internally we want to know about bugs
that may cause this. Prevent deactivating all links in the
debugfs write directly.

Reported-by: syzbot+0c5d8e65f23569a8ffec@syzkaller.appspotmail.com
Fixes: 3d90110292 ("wifi: mac80211: implement link switching")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20241230091408.505bd125c35a.Ic3c1f9572b980a952a444cad62b09b9c6721732b@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-02-21 13:49:03 +01:00
..
aead_api.c
aead_api.h
aes_ccm.h
aes_cmac.c
aes_cmac.h
aes_gcm.h
aes_gmac.c
aes_gmac.h
agg-rx.c
agg-tx.c wifi: mac80211: fix NULL dereference at band check in starting tx ba session 2024-11-08 16:26:48 +01:00
airtime.c
cfg.c wifi: mac80211: fix station NSS capability initialization order 2024-12-19 18:08:52 +01:00
chan.c Revert "wifi: mac80211: fix RCU list iterations" 2024-11-14 13:15:17 +01:00
debug.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c wifi: mac80211: prohibit deactivating all links 2025-02-21 13:49:03 +01:00
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
debugfs.c
debugfs.h
driver-ops.c wifi: mac80211: fix BA session teardown race 2024-08-29 17:30:28 +02:00
driver-ops.h
eht.c
ethtool.c
fils_aead.c
fils_aead.h
he.c wifi: mac80211: correctly parse Spatial Reuse Parameter Set element 2024-06-21 14:35:32 +02:00
ht.c
ibss.c
ieee80211_i.h wifi: mac80211: remove mesh forwarding congestion check 2024-08-29 17:30:21 +02:00
iface.c wifi: mac80211: use two-phase skb reclamation in ieee80211_do_stop() 2024-10-17 15:20:42 +02:00
Kconfig mac80211: MAC80211_MESSAGE_TRACING should depend on TRACING 2024-11-08 16:26:40 +01:00
key.c wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys 2024-11-08 16:26:40 +01:00
key.h
led.c
led.h
link.c
main.c mac80211: fix user-power when emulating chanctx 2024-12-14 19:53:08 +01:00
Makefile
mesh_hwmp.c
mesh_pathtbl.c wifi: mac80211: mesh: Fix leak of mesh_preq_queue objects 2024-06-21 14:35:31 +02:00
mesh_plink.c
mesh_ps.c
mesh_sync.c
mesh.c wifi: mac80211: mesh: init nonpeer_pm to active by default in mesh sdata 2024-07-25 09:49:09 +02:00
mesh.h
michael.c
michael.h
mlme.c Revert "wifi: mac80211: fix RCU list iterations" 2024-11-14 13:15:17 +01:00
ocb.c
offchannel.c wifi: mac80211: don't use rate mask for offchannel TX either 2024-10-17 15:20:38 +02:00
pm.c
rate.c wifi: mac80211: don't use rate mask for offchannel TX either 2024-10-17 15:20:38 +02:00
rate.h
rc80211_minstrel_ht_debugfs.c
rc80211_minstrel_ht.c
rc80211_minstrel_ht.h
rx.c wifi: mac80211: fix potential null pointer dereference 2024-08-29 17:30:55 +02:00
s1g.c
scan.c Revert "wifi: mac80211: fix RCU list iterations" 2024-11-14 13:15:17 +01:00
spectmgmt.c
sta_info.c wifi: mac80211: fix BA session teardown race 2024-08-29 17:30:28 +02:00
sta_info.h wifi: mac80211: add documentation for amsdu_mesh_control 2024-08-29 17:30:54 +02:00
status.c
tdls.c
tkip.c
tkip.h
trace_msg.h
trace.c
trace.h
tx.c wifi: mac80211: don't use rate mask for offchannel TX either 2024-10-17 15:20:38 +02:00
util.c wifi: mac80211: wake the queues in case of failure in resume 2025-01-09 13:30:03 +01:00
vht.c wifi: mac80211: track capability/opmode NSS separately 2024-08-03 08:49:46 +02:00
wep.c
wep.h
wme.c
wme.h
wpa.c
wpa.h