diff options
author | Corey Minyard <corey@minyard.net> | 2025-04-10 14:44:26 -0500 |
---|---|---|
committer | Corey Minyard <corey@minyard.net> | 2025-05-07 17:25:48 -0500 |
commit | 6bd0eb6d759b9a22c5509ea04e19c2e8407ba418 (patch) | |
tree | 872ff7afa408d40989dddf411e7f1a08ea4d6e2e /scripts/lib/kdoc/kdoc_re.py | |
parent | 87105e07806767b81910d165441607c1461ba2b8 (diff) |
ipmi:ssif: Fix a shutdown race
It was possible for the SSIF thread to stop and quit before the
kthread_stop() call because ssif->stopping was set before the
stop. So only exit the SSIF thread is kthread_should_stop()
returns true.
There is no need to wake the thread, as the wait will be interrupted
by kthread_stop().
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions