svn commit: r284205 - stable/10/sys/kern

Konstantin Belousov kib at FreeBSD.org
Wed Jun 10 02:44:57 UTC 2015


Author: kib
Date: Wed Jun 10 02:44:56 2015
New Revision: 284205
URL: https://svnweb.freebsd.org/changeset/base/284205

Log:
  Add chunk missed in the r284199.

Modified:
  stable/10/sys/kern/kern_fork.c

Modified: stable/10/sys/kern/kern_fork.c
==============================================================================
--- stable/10/sys/kern/kern_fork.c	Wed Jun 10 02:28:50 2015	(r284204)
+++ stable/10/sys/kern/kern_fork.c	Wed Jun 10 02:44:56 2015	(r284205)
@@ -475,6 +475,7 @@ do_fork(struct thread *td, int flags, st
 
 	bzero(&td2->td_startzero,
 	    __rangeof(struct thread, td_startzero, td_endzero));
+	td2->td_su = NULL;
 
 	bcopy(&td->td_startcopy, &td2->td_startcopy,
 	    __rangeof(struct thread, td_startcopy, td_endcopy));


More information about the svn-src-stable-10 mailing list