Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105808987
D31759.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
410 B
Referenced Files
None
Subscribers
None
D31759.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D31759: itimer: Serialize accesses to p->p_itimers
Attached
Detach File
Event Timeline
Log In to Comment