diff options
author | Johannes Berg | 2019-03-05 10:31:11 +0100 |
---|---|---|
committer | Luca Coelho | 2019-04-29 17:42:45 +0200 |
commit | 30f24eabab8cd801064c5c37589d803cb4341929 (patch) | |
tree | b46b87eb4b5dd37832818d0d16d46ffbb6e80164 /drivers/perf/arm_pmu_acpi.c | |
parent | iwlwifi: pcie: initialize debug_rfkill to -1 (diff) | |
download | kernel-qcow2-linux-30f24eabab8cd801064c5c37589d803cb4341929.tar.gz kernel-qcow2-linux-30f24eabab8cd801064c5c37589d803cb4341929.tar.xz kernel-qcow2-linux-30f24eabab8cd801064c5c37589d803cb4341929.zip |
iwlwifi: pcie: don't crash on invalid RX interrupt
If for some reason the device gives us an RX interrupt before we're
ready for it, perhaps during device power-on with misconfigured IRQ
causes mapping or so, we can crash trying to access the queues.
Prevent that by checking that we actually have RXQs and that they
were properly allocated.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/perf/arm_pmu_acpi.c')
0 files changed, 0 insertions, 0 deletions