summaryrefslogtreecommitdiffstats
path: root/sys/netgraph
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-02-16 18:54:44 +0000
committerglebius <glebius@FreeBSD.org>2012-02-16 18:54:44 +0000
commitb154e4b38e47c0d7c442dba56f95dead2a9fa7aa (patch)
treefd5c1b29c2a19f8684029db8ef74b205f4a293b0 /sys/netgraph
parent746e81c70006b8309a1bb031251a36440ff53861 (diff)
downloadFreeBSD-src-b154e4b38e47c0d7c442dba56f95dead2a9fa7aa.zip
FreeBSD-src-b154e4b38e47c0d7c442dba56f95dead2a9fa7aa.tar.gz
Specify correct loading order for core of netgraph(4).
Diffstat (limited to 'sys/netgraph')
-rw-r--r--sys/netgraph/ng_base.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index a4276adf..59fcd42 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -3066,7 +3066,7 @@ vnet_netgraph_uninit(const void *unused __unused)
}
} while (node != NULL);
}
-VNET_SYSUNINIT(vnet_netgraph_uninit, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY,
+VNET_SYSUNINIT(vnet_netgraph_uninit, SI_SUB_NETGRAPH, SI_ORDER_FIRST,
vnet_netgraph_uninit, NULL);
#endif /* VIMAGE */
@@ -3132,7 +3132,7 @@ static moduledata_t netgraph_mod = {
ngb_mod_event,
(NULL)
};
-DECLARE_MODULE(netgraph, netgraph_mod, SI_SUB_NETGRAPH, SI_ORDER_MIDDLE);
+DECLARE_MODULE(netgraph, netgraph_mod, SI_SUB_NETGRAPH, SI_ORDER_FIRST);
SYSCTL_NODE(_net, OID_AUTO, graph, CTLFLAG_RW, 0, "netgraph Family");
SYSCTL_INT(_net_graph, OID_AUTO, abi_version, CTLFLAG_RD, 0, NG_ABI_VERSION,"");
SYSCTL_INT(_net_graph, OID_AUTO, msg_version, CTLFLAG_RD, 0, NG_VERSION, "");
OpenPOWER on IntegriCloud