fix timer leave flux

This commit is contained in:
Charlie Root 2021-06-09 00:34:46 -04:00
parent f93eb76376
commit 65c127fd42

View File

@ -1134,13 +1134,14 @@ filt_timerexpire_l(struct knote *kn, bool proc_locked)
} }
if (!proc_locked) if (!proc_locked)
PROC_UNLOCK(p); PROC_UNLOCK(p);
knote_leave_flux_ul(kn);
return; return;
} }
if (!proc_locked) if (!proc_locked)
PROC_UNLOCK(p); PROC_UNLOCK(p);
} }
kqtimer_sched_callout(kc); kqtimer_sched_callout(kc);
knote_leave_flux_ul(kn); knote_leave_flux_ul(kn);
} }