Author: kib
Date: Sat Apr 25 08:06:21 2015
New Revision: 281979
URL: https://svnweb.freebsd.org/changeset/base/281979

Log:
  MFC r281696:
  Initialize td_sel in the thread_init().
  
  PR:   199518

Modified:
  stable/10/sys/kern/kern_thread.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/kern/kern_thread.c
==============================================================================
--- stable/10/sys/kern/kern_thread.c    Sat Apr 25 08:03:36 2015        
(r281978)
+++ stable/10/sys/kern/kern_thread.c    Sat Apr 25 08:06:21 2015        
(r281979)
@@ -210,6 +210,7 @@ thread_init(void *mem, int size, int fla
        td->td_sched = (struct td_sched *)&td[1];
        umtx_thread_init(td);
        td->td_kstack = 0;
+       td->td_sel = NULL;
        return (0);
 }
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to