Page MenuHomeFreeBSD

D31759.diff
No OneTemporary

D31759.diff

diff --git a/sys/kern/kern_time.c b/sys/kern/kern_time.c
--- a/sys/kern/kern_time.c
+++ b/sys/kern/kern_time.c
@@ -1822,8 +1822,11 @@
}
if (its->its_timers[0] == NULL && its->its_timers[1] == NULL &&
its->its_timers[2] == NULL) {
- free(its, M_SUBPROC);
+ /* Synchronize with itimer_proc_continue(). */
+ PROC_LOCK(p);
p->p_itimers = NULL;
+ PROC_UNLOCK(p);
+ free(its, M_SUBPROC);
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 22, 12:23 AM (20 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15549187
Default Alt Text
D31759.diff (410 B)

Event Timeline