DragonFly commits List (threaded) for 2008-05
DragonFly BSD
DragonFly commits List (threaded) for 2008-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/kern sys_pipe.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 7 May 2008 18:31:01 -0700 (PDT)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]