iwlwifi: mvm: fix unaligned read of rx_pkt_status
authorWang Xuerui <wangxuerui@qiniu.com>
Fri, 15 Nov 2019 07:28:02 +0000 (09:28 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 15 Nov 2019 07:34:28 +0000 (09:34 +0200)
commitc5aaa8be29b25dfe1731e9a8b19fd91b7b789ee3
tree12c8de37441eb128d044af5b17a8ae7844c478e6
parenteb3dc36eeca465a6a647afc7db8d00a5d4f2fb82
iwlwifi: mvm: fix unaligned read of rx_pkt_status

This is present since the introduction of iwlmvm.
Example stack trace on MIPS:

[<ffffffffc0789328>] iwl_mvm_rx_rx_mpdu+0xa8/0xb88 [iwlmvm]
[<ffffffffc0632b40>] iwl_pcie_rx_handle+0x420/0xc48 [iwlwifi]

Tested with a Wireless AC 7265 for ~6 months, confirmed to fix the
problem. No other unaligned accesses are spotted yet.

Signed-off-by: Wang Xuerui <wangxuerui@qiniu.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/intel/iwlwifi/mvm/rx.c