From jmcneill@: call config_deferred(9) in rescan_with_cfdata().

This commit is contained in:
jruoho 2010-08-16 17:29:52 +00:00
parent 26529eabd8
commit 795224299a

View File

@ -1,4 +1,4 @@
/* $NetBSD: subr_autoconf.c,v 1.208 2010/06/26 06:43:13 tsutsui Exp $ */
/* $NetBSD: subr_autoconf.c,v 1.209 2010/08/16 17:29:52 jruoho Exp $ */
/*
* Copyright (c) 1996, 2000 Christopher G. Demetriou
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.208 2010/06/26 06:43:13 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: subr_autoconf.c,v 1.209 2010/08/16 17:29:52 jruoho Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@ -832,6 +832,8 @@ rescan_with_cfdata(const struct cfdata *cf)
(*d->dv_cfattach->ca_rescan)(d,
cfdata_ifattr(cf1), cf1->cf_loc);
config_deferred(d);
}
}
deviter_release(&di);