Date: Sat, 4 May 2002 05:56:14 -0700 (PDT) From: Jonathan Mini <mini@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 10786 for review Message-ID: <200205041256.g44CuEl72375@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10786 Change 10786 by mini@mini_stylus on 2002/05/04 05:55:43 After freeing td_ucred, set it to NULL so that we know we've released our refcount and don't do it again. Affected files ... ... //depot/projects/kse/sys/kern/kern_exit.c#44 edit Differences ... ==== //depot/projects/kse/sys/kern/kern_exit.c#44 (text+ko) ==== @@ -375,6 +375,7 @@ * in theory nothing should be using it at this point. */ crfree(td->td_ucred); + td->td_ucred = NULL; /* * Remove proc from allproc queue and pidhash chain. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205041256.g44CuEl72375>