Date: Thu, 1 Aug 2002 06:35:38 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exit.c kern_ktrace.c kern_shutdown.c subr_taskqueue.c Message-ID: <200208011335.g71DZcUX058988@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2002/08/01 06:35:38 PDT
Modified files:
sys/kern kern_exit.c kern_ktrace.c kern_shutdown.c
subr_taskqueue.c
Log:
If we fail to write to a vnode during a ktrace write, then we drop all
other references to that vnode as a trace vnode in other processes as well
as in any pending requests on the todo list. Thus, it is possible for a
ktrace request structure to have a NULL ktr_vp when it is destroyed in
ktr_freerequest(). We shouldn't call vrele() on the vnode in that case.
Reported by: bde
Revision Changes Path
1.171 +1 -1 src/sys/kern/kern_exit.c
1.70 +5 -3 src/sys/kern/kern_ktrace.c
1.132 +11 -9 src/sys/kern/kern_shutdown.c
1.13 +1 -0 src/sys/kern/subr_taskqueue.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208011335.g71DZcUX058988>
