]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: add ability to check DA/SA in A-MSDU decapsulation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 5 Oct 2016 14:17:01 +0000 (16:17 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Oct 2016 07:19:10 +0000 (09:19 +0200)
commit226f8c778315c583f3ed58ed68b1359b9c8436b2
tree75123183c4319ac542567a26747f87705561c441
parentf6c97e29beb2e20f969a461b8dc6d10e080c7896
cfg80211: add ability to check DA/SA in A-MSDU decapsulation

We should not accept arbitrary DA/SA inside A-MSDUs, it could be used
to circumvent protections, like allowing a station to send frames and
make them seem to come from somewhere else.

Add the necessary infrastructure in cfg80211 to allow such checks, in
further patches we'll start using them.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
include/net/cfg80211.h
net/mac80211/rx.c
net/wireless/util.c