Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Jul 2005 01:03:22 -0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        Mike Silbersack <silby@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, 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>