wifi: mac80211: drop some unprotected action frames
authorJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 13:26:47 +0000 (16:26 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:01:28 +0000 (14:01 +0200)
commit76a3059cf1246a71f242822c6d605e5baa8924a3
tree4c3b4fab6aa90920b06c78dd266afef316e4f3e1
parent2cc7add345ea0e3d28a2fae29b93884909753c63
wifi: mac80211: drop some unprotected action frames

We should not receive/handle unicast protected dual
or public action frames that aren't protected, so
drop them - in the latter case of course only if MFP
is used.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230619161906.eb4461108129.I3c2223cf29d8a3586dfc74b2dda3f6fa2a4eea7c@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c