aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2016-10-05 16:17:01 +0200
committerJohannes Berg <johannes.berg@intel.com>2016-10-12 09:19:10 +0200
commit8b935ee2ea17db720d70f6420f77f594c0c93f75 (patch)
tree75123183c4319ac542567a26747f87705561c441 /drivers/net/wireless/marvell/mwifiex/11n_rxreorder.c
parentcfg80211: let ieee80211_amsdu_to_8023s() take only header-less SKB (diff)
downloadlinux-dev-8b935ee2ea17db720d70f6420f77f594c0c93f75.tar.xz
linux-dev-8b935ee2ea17db720d70f6420f77f594c0c93f75.zip
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.c2
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;