wifi: mac80211: drop unprotected robust mgmt before 4-way-HS
authorAlon Giladi <alon.giladi@intel.com>
Mon, 19 Jun 2023 15:37:38 +0000 (18:37 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:01:20 +0000 (14:01 +0200)
commit7339e0f2e1bcb732b922a1c40a01b6002bec1ee5
treec100384ffd3c5d468f3a9985bfcb30b565d5d6bf
parent8d0c7e1901d6083756b7530d348cb0af6b25ded8
wifi: mac80211: drop unprotected robust mgmt before 4-way-HS

When MFP is used, drop unprotected robust management frames also
before the 4-way handshake has been completed, i.e. no key has
been installed yet.

Signed-off-by: Alon Giladi <alon.giladi@intel.com>
Signed-off-by: Gregory Greenman <gregory.greenman@intel.com>
Link: https://lore.kernel.org/r/20230619183718.cfbefddccd0c.Ife369dbb61c87e311ce15739d5b2b4763bfdfbae@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c