svn commit: r283891 - head/sys/fs/procfs
Xin LI
delphij at FreeBSD.org
Mon Jun 1 18:49:32 UTC 2015
Author: delphij
Date: Mon Jun 1 18:49:31 2015
New Revision: 283891
URL: https://svnweb.freebsd.org/changeset/base/283891
Log:
Clear p_stops upon PROCFS_CTL_DETACH, similar to r283889.
Noticed by: jhb
Reviewed by: sef
Sponsored by: iXsystems, Inc.
MFC after: 2 weeks
Modified:
head/sys/fs/procfs/procfs_ctl.c
Modified: head/sys/fs/procfs/procfs_ctl.c
==============================================================================
--- head/sys/fs/procfs/procfs_ctl.c Mon Jun 1 18:15:50 2015 (r283890)
+++ head/sys/fs/procfs/procfs_ctl.c Mon Jun 1 18:49:31 2015 (r283891)
@@ -235,6 +235,7 @@ out:
} else
PROC_LOCK(p);
p->p_oppid = 0;
+ p->p_stops = 0;
p->p_flag &= ~P_WAITED; /* XXX ? */
sx_xunlock(&proctree_lock);
More information about the svn-src-all
mailing list