]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: refuse aggregations sessions before authorized
authorJohannes Berg <johannes.berg@intel.com>
Thu, 3 Feb 2022 19:15:29 +0000 (20:15 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Feb 2022 14:26:34 +0000 (15:26 +0100)
commitb3470c565072f58e95ba8e4d9f16fdc23c32ac1f
treea03968b39f96e51d88d66062ad4141506e0ed3eb
parentab091683c676db859614fb178bb59eda88d55f39
mac80211: refuse aggregations sessions before authorized

If an MFP station isn't authorized, the receiver will (or
at least should) drop the action frame since it's a robust
management frame, but if we're not authorized we haven't
installed keys yet. Refuse attempts to start a session as
they'd just time out.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Link: https://lore.kernel.org/r/20220203201528.ff4d5679dce9.I34bb1f2bc341e161af2d6faf74f91b332ba11285@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c