Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2006 09:15:09 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Tor Egge <tegge@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_conf.c
Message-ID:  <20061015091459.V72308@godot.imp.ch>
In-Reply-To: <200610132049.k9DKnObw045731@repoman.freebsd.org>
References:  <200610132049.k9DKnObw045731@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Cool, thank you !

Martin

Martin Blapp, <mb@imp.ch> <mbr@FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------

On Fri, 13 Oct 2006, Tor Egge wrote:

> 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?20061015091459.V72308>