wifi: mac80211: move action length check up
authorJohannes Berg <johannes.berg@intel.com>
Mon, 19 Jun 2023 13:26:46 +0000 (16:26 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Jun 2023 12:01:28 +0000 (14:01 +0200)
commit2cc7add345ea0e3d28a2fae29b93884909753c63
tree893a3e9f4fd312fb845f13598b32d81f8ce2e574
parent7339e0f2e1bcb732b922a1c40a01b6002bec1ee5
wifi: mac80211: move action length check up

We'd like to add more checks to the function here for
action frames, so move up the length check from the
action processing.

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.e799254e923f.I0a1de5f6bbdc1b2ef5efaa0ac80c7c3f39415538@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c