cvs commit: src/sys/kern uipc_syscalls.c

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Oct 30 04:04:05 PDT 2008


sephe       2008/10/30 04:03:29 PDT

DragonFly src repository

  Modified files:
    sys/kern             uipc_syscalls.c 
  Log:
  Use atomic_fetchadd_int() to avoid N->0 race when freeing sfbuf.  The
  serializer field is no longer needed.
  
  Hint-from: dillon@
  Reported-by: pavalos@
  Tested-by: pavalos@
  
  Revision  Changes    Path
  1.90      +11 -33    src/sys/kern/uipc_syscalls.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/uipc_syscalls.c.diff?r1=1.89&r2=1.90&f=u





More information about the Commits mailing list