mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Set SNF_SYNC flag for timer, as the timer notification should be
serialized.
This commit is contained in:
parent
88ca07e79a
commit
37fe716495
1 changed files with 1 additions and 0 deletions
|
|
@ -121,6 +121,7 @@ __timer_create(clockid_t clockid, struct sigevent *evp, timer_t *timerid)
|
|||
errno = err;
|
||||
return (-1);
|
||||
}
|
||||
sn->sn_flags |= SNF_SYNC;
|
||||
sn->sn_dispatch = timer_dispatch;
|
||||
sn->sn_id = timer->oshandle;
|
||||
timer->node = sn;
|
||||
|
|
|
|||
Loading…
Reference in a new issue