aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2021-01-22 12:52:41 +0000
committerKalle Valo <[email protected]>2021-01-25 13:59:24 +0000
commit7a21b1d4a728a483f07c638ccd8610d4b4f12684 (patch)
tree73a314fd453f4cc7bffc0fd8d6e1ef88948e6c81 /net/lapb/lapb_timer.c
parentiwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit. (diff)
downloadkernel-7a21b1d4a728a483f07c638ccd8610d4b4f12684.tar.gz
kernel-7a21b1d4a728a483f07c638ccd8610d4b4f12684.zip
iwlwifi: mvm: guard against device removal in reprobe
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 <[email protected]> Signed-off-by: Luca Coelho <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/iwlwifi.20210122144849.871f0892e4b2.I94819e11afd68d875f3e242b98bef724b8236f1e@changeid
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions