Re: [PATCH] mac80211: fix fast_tx header alignment

2016-05-31 Thread Johannes Berg
On Thu, 2016-05-19 at 17:34 +0200, Felix Fietkau wrote: > 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. > > Applied, thanks.

[PATCH] mac80211: fix fast_tx header alignment

2016-05-19 Thread Felix Fietkau
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: