Date: Sat, 26 Jul 2008 18:58:50 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_thread.c Message-ID: <200807261858.m6QIwuL8037138@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2008-07-26 18:58:50 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_thread.c Log: SVN rev 180830 on 2008-07-26 18:58:50Z by kib Although being recorded as MFC of the r177369, this change was introduced for the KSE case in the r177083. Both were done by jeff, MFC is needed due to recent cpuset(2) commit to RELENG_7. r177083: KSE may free a thread that was never actually forked. This will leave td_cpuset NULL. Check for this condition before dereferencing the cpuset. r177369: Restore the NULL check for td_cpuset. This can happen if a partially constructed thread was torn down as is the case when we fail to allocate a kernel stack. Revision Changes Path 1.255.2.6 +2 -1 src/sys/kern/kern_thread.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807261858.m6QIwuL8037138>