tegge 2006-10-13 20:49:24 UTC
FreeBSD src repository
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