]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit813e6f7f589531970c85fdcd7e3dd23b1ef6cdbf
tree12c8de37441eb128d044af5b17a8ae7844c478e6
parent53a7ccf15dcc8c4ef39c3a55a6f9c2c38ac81be3
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