Date: Mon, 17 Jan 2005 20:34:43 -0500 From: John Baldwin <jhb@FreeBSD.org> To: Mike Silbersack <silby@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern sys_pipe.c Message-ID: <200501172034.43213.jhb@FreeBSD.org> In-Reply-To: <200501170756.j0H7uSU9031593@repoman.freebsd.org> References: <200501170756.j0H7uSU9031593@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 17 January 2005 02:56 am, Mike Silbersack wrote: > silby 2005-01-17 07:56:28 UTC > > FreeBSD src repository > > Modified files: > sys/kern sys_pipe.c > Log: > Rearrange the kninit calls for both directions of a pipe so that > they both happen before pipe backing allocation occurs. Previously, > a pipe memory shortage would cause a panic due to a KNOTE call > on an uninitialized si_note. > > Reported by: Peter Holm > MFC after: 1 week Good catch! -- John Baldwin <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501172034.43213.jhb>