]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
iwlwifi: mvm: align copy-break SKB payload for MQ RX
authorJohannes Berg <johannes.berg@intel.com>
Thu, 8 Dec 2016 09:38:08 +0000 (10:38 +0100)
committerLuca Coelho <luciano.coelho@intel.com>
Mon, 6 Feb 2017 17:19:24 +0000 (19:19 +0200)
commit4b40571eaf423b96e3809006bd192b4efd52a64b
treef4370fe2577e2ca012e0464b89bac0726414aadb
parent94c3e614df2117626fccfac8f821c66e30556384
iwlwifi: mvm: align copy-break SKB payload for MQ RX

When a small frame is copied completely into the skb->head, the code
doesn't take alignment into account, making mac80211 copy it again
later on architectures that need the alignment. Avoid this by taking
the PAD flag from the device into account when copying.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c