diff options
author | Felix Fietkau <[email protected]> | 2016-05-19 17:34:38 +0200 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2016-05-31 12:14:04 +0200 |
commit | 6fe04128f158c5ad27e7504bfdf1b12e63331bc9 (patch) | |
tree | 294d109c5107cae1833804802886c829352f7149 /tools/perf/util/trace-event-scripting.c | |
parent | fe7a7c57629e8dcbc0e297363a9b2366d67a6dc5 (diff) |
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: [email protected]
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions