cvs commit: src/sys/kern sys_pipe.c

Robert Watson rwatson at FreeBSD.org
Tue Nov 23 14:15:12 PST 2004


rwatson     2004-11-23 22:15:08 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  Correct a bug introduced in sys_pipe.c:1.179: in pipe_ioctl(),
  release the pipe mutex before calling fsetown(), as fsetown()
  may block.  The sigio code protects the pipe sigio data using
  its own mutex, and the pipe reference count held by the caller
  will prevent the pipe from being prematurely garbage-collected.
  
  Discovered by:  imp
  
  Revision  Changes    Path
  1.181     +5 -2      src/sys/kern/sys_pipe.c


More information about the cvs-src mailing list