]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys
authorFelix Fietkau <nbd@nbd.name>
Sun, 6 Oct 2024 15:36:30 +0000 (17:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2024 15:25:52 +0000 (16:25 +0100)
commite97b59cda228f952622ea9921b36488388d49432
tree9e9d0ca2db5a37264c6b43dc44a68160ff0a821e
parent52f47de44820596d78f0cecec7f23dd9b42b5a51
wifi: mac80211: skip non-uploaded keys in ieee80211_iter_keys

[ Upstream commit 52009b419355195912a628d0a9847922e90c348c ]

Sync iterator conditions with ieee80211_iter_keys_rcu.

Fixes: 830af02f24fb ("mac80211: allow driver to iterate keys")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20241006153630.87885-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/key.c