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

cvs commit: src/sys/kern vfs_init.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 14 Mar 2004 22:10:51 -0800 (PST)

dillon      2004/03/14 22:10:51 PST

DragonFly src repository

  Modified files:
    sys/kern             vfs_init.c 
  Log:
  Do not free the old VFS vector when recomputing the vectors.  If a module
  is loaded which causes the vectors to recompute, the v_op on existing
  vnodes can wind up pointing to freed memory.  This fix does cause a memory
  leak, and is a hack, but it's better then crashing.
  
  Taken-from: FreeBSD-5
  
  Revision  Changes    Path
  1.3       +5 -1      src/sys/kern/vfs_init.c


http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_init.c.diff?r1=1.2&r2=1.3&f=h



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