Date: Sun, 03 Jul 2005 01:02:17 -0000 From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sys_pipe.c Message-ID: <200501170756.j0H7uSU9031593@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Revision Changes Path
1.183 +3 -1 src/sys/kern/sys_pipe.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501170756.j0H7uSU9031593>
