summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2019-03-05 10:31:11 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-31 06:46:13 -0700
commit0ea8b7cf9436b526c833f2677c5caed04af6b9d4 (patch)
treecd1f3db94fc7e7ed3cf600d5e488c6ea3eab6c48 /drivers/rtc
parentbd3d8f4cb956980c5fa08b043919a5e056cf8a41 (diff)
iwlwifi: pcie: don't crash on invalid RX interrupt
[ Upstream commit 30f24eabab8cd801064c5c37589d803cb4341929 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions