1
0
Fork 0
alistair23-linux/drivers/net/wireless/intel/iwlwifi/mvm
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
..
Makefile iwlwifi: mvm: support FTM initiator 2019-02-14 11:29:43 +02:00
binding.c
coex.c iwlwifi: mvm: simplify some return conditions 2019-02-04 12:27:18 +02:00
constants.h iwlwifi: mvm: don't send the IWL_MVM_RXQ_NSSN_SYNC notif to Rx queues 2020-01-29 16:45:26 +01:00
d3.c iwlwifi: add sta_id to WOWLAN_CONFIG_CMD 2019-09-06 15:52:05 +03:00
debugfs-vif.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2019-05-02 22:14:21 -04:00
debugfs.c iwlwifi: avoid debug max amsdu config overwriting itself 2020-06-22 09:31:04 +02:00
debugfs.h
ftm-initiator.c iwlwifi: mvm: avoid use after free for pmsr request 2020-02-14 16:34:09 -05:00
ftm-responder.c iwlwifi: mvm: support FTM responder 2019-02-14 11:29:43 +02:00
fw-api.h iwlwifi: mvm: add location APIs 2019-01-29 16:10:31 +02:00
fw.c iwlwifi: mvm: fix non-ACPI function 2020-04-01 11:01:56 +02:00
led.c iwlwifi: check kasprintf() return value 2019-12-31 16:45:42 +01:00
mac-ctxt.c iwlwifi: dbg_ini: remove apply point, switch to time point API 2019-09-06 15:52:06 +03:00
mac80211.c iwlwifi: mvm: fix kernel panic in case of assert during CSA 2020-12-16 10:56:55 +01:00
mvm.h iwlwifi: mvm: fix potential SKB leak on TXQ TX 2020-01-29 16:45:30 +01:00
nvm.c iwlwifi: mvm: fix NVM check for 3168 devices 2020-06-17 16:40:24 +02:00
offloading.c
ops.c iwlwifi: dbg_ini: remove periodic trigger 2019-09-06 15:52:07 +03:00
phy-ctxt.c iwlwifi: mvm: look for the first supported channel when add/remove phy ctxt 2019-09-06 15:31:22 +03:00
power.c iwlwifi: mvm: remove iwl_mvm_update_d0i3_power_mode 2019-09-06 15:31:14 +03:00
quota.c
rs-fw.c iwlwifi: avoid debug max amsdu config overwriting itself 2020-06-22 09:31:04 +02:00
rs.c mac80211: populate debugfs only after cfg80211 init 2020-04-29 16:33:18 +02:00
rs.h iwlwifi: mvm: replace RS mutex with a spin_lock 2019-07-30 18:34:24 +02:00
rx.c iwlwifi: mvm: beacon statistics shouldn't go backwards 2020-04-29 16:33:18 +02:00
rxmq.c iwlwifi: mvm: don't send the IWL_MVM_RXQ_NSSN_SYNC notif to Rx queues 2020-01-29 16:45:26 +01:00
scan.c Revert "iwlwifi: mvm: fix scan config command size" 2020-01-29 16:45:26 +01:00
sf.c iwlwifi: mvm: make num_active_macs unsigned 2019-01-25 20:57:21 +02:00
sta.c iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU 2020-07-29 10:18:41 +02:00
sta.h iwlwifi: mvm: fix aux station leak 2020-06-22 09:31:10 +02:00
tdls.c iwlwifi: remove all the d0i3 references 2019-09-06 15:31:13 +03:00
testmode.h
time-event.c iwlwifi: remove all the d0i3 references 2019-09-06 15:31:13 +03:00
time-event.h
tt.c iwlwifi: mvm: Fix thermal zone registration 2020-02-24 08:37:01 +01:00
tx.c iwlwifi: pcie: allocate smaller dev_cmd for TX headers 2020-02-05 21:22:47 +00:00
utils.c iwlwifi: always access the trans configuration via trans 2019-09-06 15:52:04 +03:00