linux/drivers/net/wireless
Johannes Berg fa758032a5 iwlwifi: mvm: guard against device removal in reprobe
[ Upstream commit 7a21b1d4a728a483f07c638ccd8610d4b4f12684 ]

If we get into a problem severe enough to attempt a reprobe,
we schedule a worker to do that. However, if the problem gets
more severe and the device is actually destroyed before this
worker has a chance to run, we use a free device. Bump up the
reference count of the device until the worker runs to avoid
this situation.

Signed-off-by: Johannes Berg <johannes.berg@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.20210122144849.871f0892e4b2.I94819e11afd68d875f3e242b98bef724b8236f1e@changeid
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-13 13:52:55 +01:00
..
admtek
ath wil6210: select CONFIG_CRC32 2021-01-17 14:05:36 +01:00
atmel
broadcom brcmfmac: Fix memory leak for unpaired brcmf_{alloc/free} 2020-12-30 11:51:05 +01:00
cisco airo: Fix read overflows sending packets 2020-06-07 13:18:48 +02:00
intel iwlwifi: mvm: guard against device removal in reprobe 2021-02-13 13:52:55 +01:00
intersil orinoco: Move context allocation after processing the skb 2020-12-30 11:51:11 +01:00
marvell mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start 2021-01-09 13:44:55 +01:00
mediatek mt7601u: fix rx buffer refcounting 2021-02-03 23:25:58 +01:00
quantenna qtnfmac: fix error return code in qtnf_pcie_probe() 2020-12-30 11:51:11 +01:00
ralink
realtek rtw88: debug: Fix uninitialized memory in debugfs code 2020-12-11 13:23:32 +01:00
rsi rsi: fix error return code in rsi_reset_card() 2020-12-30 11:51:12 +01:00
st cw1200: fix missing destroy_workqueue() on error in cw1200_init_common 2020-12-30 11:51:12 +01:00
ti wlcore: fix runtime pm imbalance in wlcore_regdomain_config 2020-10-01 13:18:07 +02:00
zydas
Kconfig
Makefile
mac80211_hwsim.c mac80211_hwsim: Use kstrndup() in place of kasprintf() 2020-04-21 09:05:00 +02:00
mac80211_hwsim.h
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c
virt_wifi.c
wl3501.h
wl3501_cs.c