cvs commit: src/sys/kern sys_pipe.c

Matthew Dillon dillon at crater.dragonflybsd.org
Wed May 7 18:31:16 PDT 2008


dillon      2008/05/07 18:31:01 PDT

DragonFly src repository

  Modified files:
    sys/kern             sys_pipe.c 
  Log:
  Fix some lock ordering issues in the pipe code.
  
  In particular fix a bug in the pipe_write() code when multiple writers
  are present that could cause garbage to be injected into the pipe due
  to a resize possibly occuring while wpipe->pipe_buffer.cnt is non-zero.
  
  Revision  Changes    Path
  1.46      +21 -9     src/sys/kern/sys_pipe.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/sys_pipe.c.diff?r1=1.45&r2=1.46&f=u





More information about the Commits mailing list