cvs commit: src/sys/kern sys_pipe.c

John Baldwin jhb at FreeBSD.org
Sun Jul 3 01:03:22 GMT 2005


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 at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



More information about the cvs-all mailing list