diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-10-05 17:17:01 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-10-12 10:19:10 +0300 |
commit | 8b935ee2ea17db720d70f6420f77f594c0c93f75 (patch) | |
tree | 75123183c4319ac542567a26747f87705561c441 /drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c | |
parent | 7f6990c830f3e8d703f13d7963acf51936c52ad2 (diff) | |
download | linux-8b935ee2ea17db720d70f6420f77f594c0c93f75.tar.xz |
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>
Diffstat (limited to 'drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c')
-rw-r--r-- | drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c b/drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c index e9f462e3730b..274dd5a1574a 100644 --- a/drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c +++ b/drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c @@ -45,7 +45,7 @@ static int mwifiex_11n_dispatch_amsdu_pkt(struct mwifiex_private *priv, skb_trim(skb, le16_to_cpu(local_rx_pd->rx_pkt_length)); ieee80211_amsdu_to_8023s(skb, &list, priv->curr_addr, - priv->wdev.iftype, 0); + priv->wdev.iftype, 0, NULL, NULL); while (!skb_queue_empty(&list)) { struct rx_packet_hdr *rx_hdr; |