Skip to content
Snippets Groups Projects
Commit ce543e78 authored by Johannes Berg's avatar Johannes Berg Committed by Frieder Schrempf
Browse files

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: default avatar <syzbot+0c5d8e65f23569a8ffec@syzkaller.appspotmail.com>
Fixes: 3d901102 ("wifi: mac80211: implement link switching")
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Link: https://patch.msgid.link/20241230091408.505bd125c35a.Ic3c1f9572b980a952a444cad62b09b9c6721732b@changeid


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e369e534
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment