In callout_stop(), do not forget to initialize not_running variable.
Thanks to hselasky for noticing that. Differential Revision: https://reviews.freebsd.org/D3078 (Updated) Submitted by: hselasky Pointy hat to: jch
This commit is contained in:
parent
619aca846f
commit
4015a832a3
@ -1385,7 +1385,8 @@ again:
|
||||
* and indeed impossible to stop then return 0.
|
||||
*/
|
||||
not_running = !(cc_exec_curr(cc, direct) == c);
|
||||
}
|
||||
} else
|
||||
not_running = 1;
|
||||
|
||||
CC_UNLOCK(cc);
|
||||
return (not_running);
|
||||
|
Loading…
x
Reference in New Issue
Block a user