fix timer leave flux
This commit is contained in:
parent
f93eb76376
commit
65c127fd42
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user