Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157544143
D55264.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
562 B
Referenced Files
None
Subscribers
None
D55264.id.diff
View Options
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -873,8 +873,13 @@
PROC_LOCK(p);
if (P_SHOULDSTOP(p) || P_KILLED(p)) {
if ((kc->flags & KQ_TIMER_CB_ENQUEUED) == 0) {
+ /*
+ * Insert into head so that
+ * kqtimer_proc_continue() does not
+ * iterate into us again.
+ */
kc->flags |= KQ_TIMER_CB_ENQUEUED;
- TAILQ_INSERT_TAIL(&p->p_kqtim_stop, kc, link);
+ TAILQ_INSERT_HEAD(&p->p_kqtim_stop, kc, link);
}
if (!proc_locked)
PROC_UNLOCK(p);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, May 23, 3:56 PM (2 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33449197
Default Alt Text
D55264.id.diff (562 B)
Attached To
Mode
D55264: filt_timerexpire_l(): re-insert restarted timer into head instead of tail
Attached
Detach File
Event Timeline
Log In to Comment