ozaki-r 5a85ab2f56 Replace callout_stop with callout_halt
In order to call callout_destroy for a callout safely, we have to ensure
the function of the callout is not running and pending. To do so, we should
use callout_halt, not callout_stop.

In this case, we need to pass an interlock to callout_halt to wait for
the callout complete. And also we make sure that SME_CALLOUT_INITIALIZED
is unset before calling callout_halt to prevent the callout from calling
callout_schedule. This is the same as what we did in sys/netinet6/mld6.c@1.61.

Reviewed by riastradh@.
2014-11-22 15:09:30 +00:00
2014-11-22 01:28:13 +00:00
2014-11-22 01:28:13 +00:00
2014-11-20 03:07:30 +00:00
2014-11-18 01:58:59 +00:00
2014-11-17 07:15:28 +00:00
2014-11-20 21:18:47 +00:00
2014-11-16 06:10:55 +00:00
Description
No description provided
3.1 GiB
Languages
C 85.3%
Roff 7.2%
Assembly 3.1%
Shell 1.7%
Makefile 1.2%
Other 0.9%