svn commit: r298546 - projects/vnet/sys/net
Bjoern A. Zeeb
bz at FreeBSD.org
Sun Apr 24 16:33:27 UTC 2016
Author: bz
Date: Sun Apr 24 16:33:25 2016
New Revision: 298546
URL: https://svnweb.freebsd.org/changeset/base/298546
Log:
Update the sysuninit subsystem before calling into the function
handler so we always know at which stage we are running.
Sponsored by: The FreeBSD Foundation
Modified:
projects/vnet/sys/net/vnet.c
Modified: projects/vnet/sys/net/vnet.c
==============================================================================
--- projects/vnet/sys/net/vnet.c Sun Apr 24 16:07:50 2016 (r298545)
+++ projects/vnet/sys/net/vnet.c Sun Apr 24 16:33:25 2016 (r298546)
@@ -582,8 +582,8 @@ vnet_sysuninit(void)
VNET_SYSINIT_RLOCK();
TAILQ_FOREACH_REVERSE(vs, &vnet_destructors, vnet_sysuninit_head,
link) {
- vs->func(vs->arg);
curvnet->vnet_state = vs->subsystem;
+ vs->func(vs->arg);
}
VNET_SYSINIT_RUNLOCK();
}
More information about the svn-src-projects
mailing list