aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_mmio.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2022-01-08 11:08:14 -0800
committerFelix Fietkau <nbd@nbd.name>2022-02-03 13:57:59 +0100
commit827e7799c61b978fbc2cc9dac66cb62401b2b3f0 (patch)
tree5651c91ece06755cfc70be66c2e1e846721e08be /drivers/net/wwan/iosm/iosm_ipc_mmio.c
parentmt76: mt7921e: fix possible probe failure after reboot (diff)
downloadlinux-dev-827e7799c61b978fbc2cc9dac66cb62401b2b3f0.tar.xz
linux-dev-827e7799c61b978fbc2cc9dac66cb62401b2b3f0.zip
mt76: mt7921: fix crash when startup fails.
If the nic fails to start, it is possible that the reset_work has already been scheduled. Ensure the work item is canceled so we do not have use-after-free crash in case cleanup is called before the work item is executed. This fixes crash on my x86_64 apu2 when mt7921k radio fails to work. Radio still fails, but OS does not crash. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_mmio.c')
0 files changed, 0 insertions, 0 deletions