diff options
| author | Anjaneyulu <[email protected]> | 2023-06-14 09:41:32 +0000 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2023-06-19 10:05:26 +0000 |
| commit | 1902f1953b8ba100ee8705cb8a6f1a9795550eca (patch) | |
| tree | f090340be8b6535d68b7fd8b7c4277dce97bc4d7 /drivers/net/wireless/intel/iwlwifi/fw/acpi.c | |
| parent | wifi: iwlwifi: add some FW misbehaviour check infrastructure (diff) | |
| download | kernel-1902f1953b8ba100ee8705cb8a6f1a9795550eca.tar.gz kernel-1902f1953b8ba100ee8705cb8a6f1a9795550eca.zip | |
wifi: iwlwifi: pcie: fix NULL pointer dereference in iwl_pcie_irq_rx_msix_handler()
rxq can be NULL only when trans_pcie->rxq is NULL and entry->entry
is zero. For the case when entry->entry is not equal to 0, rxq
won't be NULL even if trans_pcie->rxq is NULL. Modify checker to
check for trans_pcie->rxq.
Fixes: abc599efa67b ("iwlwifi: pcie: don't crash when rx queues aren't allocated in interrupt")
Signed-off-by: Anjaneyulu <[email protected]>
Signed-off-by: Gregory Greenman <[email protected]>
Link: https://lore.kernel.org/r/20230614123446.5a5eb3889a4a.I375a1d58f16b48cd2044e7b7caddae512d7c86fd@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/acpi.c')
0 files changed, 0 insertions, 0 deletions
