cvs commit: src/sys/kern sys_pipe.c

Mike Silbersack silby at FreeBSD.org
Sun Jul 3 01:02:17 GMT 2005


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



More information about the cvs-src mailing list