mac80211: drop frames with unexpected DS bits from fast-rx to slow path
authorFelix Fietkau <nbd@nbd.name>
Fri, 23 Feb 2018 09:06:03 +0000 (10:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:50:30 +0000 (07:50 +0200)
commit6588cfd4dae78e7d14eacaff800ece7f8a9db2f8
treee11c0bc89b07a041cc20573d9ce1f0cb1a4caef1
parentb8421da4b57b47dfb9ee9aacfb2612bb188f5aa5
mac80211: drop frames with unexpected DS bits from fast-rx to slow path

[ Upstream commit b323ac19b7734a1c464b2785a082ee50bccd3b91 ]

Fixes rx for 4-addr packets in AP mode. These may be used for setting
up a 4-addr link for stations that are allowed to do so.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/rx.c