1
0
Fork 0
alistair23-linux/drivers/net/wireless
Sara Sharon 8012a30b9e iwlwifi: mvm: fix kernel panic in case of assert during CSA
[ Upstream commit fe56d05ee6 ]

During CSA, we briefly nullify the phy context, in __iwl_mvm_unassign_vif_chanctx.
In case we have a FW assert right after it, it remains NULL though.
We end up running into endless loop due to mac80211 trying repeatedly to
move us to ASSOC state, and we keep returning -EINVAL. Later down the road
we hit a kernel panic.

Detect and avoid this endless loop.

Signed-off-by: Sara Sharon <sara.sharon@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.20201107104557.d64de2c17bff.Iedd0d2afa20a2aacba5259a5cae31cb3a119a4eb@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-16 10:56:55 +01:00
..
admtek treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501 2019-06-19 17:09:56 +02:00
ath ath9k_htc: Use appropriate rs_datalen type 2020-11-18 19:20:21 +01:00
atmel drivers: net: Fix Kconfig indentation 2019-09-26 08:56:17 +02:00
broadcom brcmfmac: Fix warning message after dongle setup failed 2020-11-05 11:43:19 +01:00
cisco airo: Fix read overflows sending packets 2020-06-07 13:18:48 +02:00
intel iwlwifi: mvm: fix kernel panic in case of assert during CSA 2020-12-16 10:56:55 +01:00
intersil p54: avoid accessing the data mapped to streaming DMA 2020-11-01 12:01:05 +01:00
marvell mwifiex: don't call del_timer_sync() on uninitialized timer 2020-10-29 09:58:08 +01:00
mediatek mt76: fix LED link time failure 2020-10-01 13:18:11 +02:00
quantenna qtnfmac: fix resource leaks on unsupported iftype error return path 2020-10-29 09:57:43 +01:00
ralink rt2800: remove errornous duplicate condition 2020-01-26 10:01:06 +01:00
realtek rtw88: debug: Fix uninitialized memory in debugfs code 2020-12-11 13:23:32 +01:00
rsi Revert "rsi: fix potential null dereference in rsi_probe()" 2020-02-05 21:22:53 +00:00
st cw1200: Fix a signedness bug in cw1200_load_firmware() 2020-01-23 08:22:55 +01:00
ti wlcore: fix runtime pm imbalance in wlcore_regdomain_config 2020-10-01 13:18:07 +02:00
zydas zd1211rw: fix storage endpoint lookup 2020-02-01 09:34:38 +00:00
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile
mac80211_hwsim.c mac80211_hwsim: Use kstrndup() in place of kasprintf() 2020-04-21 09:05:00 +02:00
mac80211_hwsim.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ray_cs.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 416 2019-06-05 17:37:15 +02:00
ray_cs.h
rayctl.h
rndis_wlan.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
virt_wifi.c virt_wifi: fix use-after-free in virt_wifi_newlink() 2019-12-17 19:55:55 +01:00
wl3501.h
wl3501_cs.c wl3501_cs: remove redundant variable rc 2019-07-24 14:45:24 +03:00