mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
When invoking callout_init(), spell '1' as "CALLOUT_MPSAFE".
MFC after: 3 days
This commit is contained in:
parent
a97719482d
commit
4f7fd28ee1
1 changed files with 1 additions and 1 deletions
|
|
@ -445,7 +445,7 @@ filt_timerattach(struct knote *kn)
|
|||
kn->kn_status &= ~KN_DETACHED; /* knlist_add usually sets it */
|
||||
MALLOC(calloutp, struct callout *, sizeof(*calloutp),
|
||||
M_KQUEUE, M_WAITOK);
|
||||
callout_init(calloutp, 1);
|
||||
callout_init(calloutp, CALLOUT_MPSAFE);
|
||||
kn->kn_hook = calloutp;
|
||||
callout_reset(calloutp, timertoticks(kn->kn_sdata), filt_timerexpire,
|
||||
kn);
|
||||
|
|
|
|||
Loading…
Reference in a new issue