cvs commit: src/sys/kern kern_conf.c

Tor Egge tegge at FreeBSD.org
Fri Oct 13 13:49:29 PDT 2006


tegge       2006-10-13 20:49:24 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_conf.c 
  Log:
  Wait for thread count to reach zero in destroy_devl() even when no purge
  method is defined, to avoid memory being modified after free.
  
  Temporarily increase refcount in destroy_devl() to avoid a double free
  if dev_rel() is called while waiting for thread count to reach zero.
  
  Revision  Changes    Path
  1.199     +6 -0      src/sys/kern/kern_conf.c


More information about the cvs-src mailing list