From 67a7daa938671a5c7006e5d689c297a26499d75c Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 26 Jun 2016 19:00:01 +0200 Subject: mac80211: update to wireless-testing 2016-06-20 Signed-off-by: Felix Fietkau --- ...304-mac80211-fix-fast_tx-header-alignment.patch | 25 ---------------------- 1 file changed, 25 deletions(-) delete mode 100644 package/kernel/mac80211/patches/304-mac80211-fix-fast_tx-header-alignment.patch (limited to 'package/kernel/mac80211/patches/304-mac80211-fix-fast_tx-header-alignment.patch') diff --git a/package/kernel/mac80211/patches/304-mac80211-fix-fast_tx-header-alignment.patch b/package/kernel/mac80211/patches/304-mac80211-fix-fast_tx-header-alignment.patch deleted file mode 100644 index 6316d81729..0000000000 --- a/package/kernel/mac80211/patches/304-mac80211-fix-fast_tx-header-alignment.patch +++ /dev/null @@ -1,25 +0,0 @@ -From: Felix Fietkau -Date: Thu, 19 May 2016 17:32:13 +0200 -Subject: [PATCH] mac80211: fix fast_tx header alignment - -The header field is defined as u8[] but also accessed as struct -ieee80211_hdr. Enforce an alignment of 2 to prevent unnecessary -unaligned accesses, which can be very harmful for performance on many -platforms. - -Fixes: e495c24731a2 ("mac80211: extend fast-xmit for more ciphers") -Cc: stable@vger.kernel.org -Signed-off-by: Felix Fietkau ---- - ---- a/net/mac80211/sta_info.h -+++ b/net/mac80211/sta_info.h -@@ -280,7 +280,7 @@ struct ieee80211_fast_tx { - u8 sa_offs, da_offs, pn_offs; - u8 band; - u8 hdr[30 + 2 + IEEE80211_FAST_XMIT_MAX_IV + -- sizeof(rfc1042_header)]; -+ sizeof(rfc1042_header)] __aligned(2); - - struct rcu_head rcu_head; - }; -- cgit v1.2.3