cvs commit: src/sys/kern kern_conf.c

Martin Blapp mb at imp.ch
Sun Oct 15 00:15:14 PDT 2006


Cool, thank you !

Martin

Martin Blapp, <mb at imp.ch> <mbr at 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 at 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
>


More information about the cvs-all mailing list