Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: fix fast_tx header alignment
commit 6fe0412 upstream. 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: e495c24 ("mac80211: extend fast-xmit for more ciphers") Signed-off-by: Felix Fietkau <[email protected]> Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information