]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Fri, 15 Jan 2021 11:05:55 +0000 (13:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Feb 2021 12:58:12 +0000 (13:58 +0100)
commit4ae5798004d878a1d07a70037e1432b3dd7d1c6b
tree6d17b03bda7ce1d58710d1f740b34ade1c5d2c23
parentff4c7382736045f71573d96ef822ddbdd871a6e4
iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap

[ Upstream commit 98c7d21f957b10d9c07a3a60a3a5a8f326a197e5 ]

I hit a NULL pointer exception in this function when the
init flow went really bad.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/iwlwifi.20210115130252.2e8da9f2c132.I0234d4b8ddaf70aaa5028a20c863255e05bc1f84@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/iwlwifi/pcie/tx.c