summaryrefslogtreecommitdiff
path: root/sys/netgraph/ng_gif.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_gif.c')
-rw-r--r--sys/netgraph/ng_gif.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netgraph/ng_gif.c b/sys/netgraph/ng_gif.c
index 6f2657e74513..f099d614d6a3 100644
--- a/sys/netgraph/ng_gif.c
+++ b/sys/netgraph/ng_gif.c
@@ -565,7 +565,6 @@ ng_gif_mod_event(module_t mod, int event, void *data)
VNET_LIST_RLOCK();
VNET_FOREACH(vnet_iter) {
CURVNET_SET_QUIET(vnet_iter); /* XXX revisit quiet */
- INIT_VNET_NET(curvnet);
TAILQ_FOREACH(ifp, &V_ifnet, if_link) {
if (ifp->if_type == IFT_GIF)
ng_gif_attach(ifp);