Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2006 20:49:24 +0000 (UTC)
From:      Tor Egge <tegge@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_conf.c
Message-ID:  <200610132049.k9DKnObw045731@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610132049.k9DKnObw045731>