diff options
| author | Jes Sorensen <[email protected]> | 2019-08-28 20:36:25 +0000 |
|---|---|---|
| committer | Corey Minyard <[email protected]> | 2019-09-12 21:03:18 +0000 |
| commit | c9acc3c4f8e42ae538aea7f418fddc16f257ba75 (patch) | |
| tree | 8cd75733593157def2fe78aeadb37d21c5bb4c22 /drivers/gpu/drm/lima/lima_gem.c | |
| parent | ipmi: move message error checking to avoid deadlock (diff) | |
| download | kernel-c9acc3c4f8e42ae538aea7f418fddc16f257ba75.tar.gz kernel-c9acc3c4f8e42ae538aea7f418fddc16f257ba75.zip | |
ipmi_si_intf: Fix race in timer shutdown handling
smi_mod_timer() enables the timer before setting timer_running. This
means the timer can be running when we get to stop_timer_and_thread()
without timer_running having been set, resulting in del_timer_sync()
not being called and the timer being left to cause havoc during
shutdown.
Instead just call del_timer_sync() unconditionally
Signed-off-by: Jes Sorensen <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_gem.c')
0 files changed, 0 insertions, 0 deletions
