summaryrefslogtreecommitdiffstats
path: root/sys/dev/ctau/if_ct.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ctau/if_ct.c')
-rw-r--r--sys/dev/ctau/if_ct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ctau/if_ct.c b/sys/dev/ctau/if_ct.c
index 67eb83a..96b324c 100644
--- a/sys/dev/ctau/if_ct.c
+++ b/sys/dev/ctau/if_ct.c
@@ -2256,11 +2256,11 @@ static int ng_ct_rmnode (node_p node)
splx (s);
}
#ifdef KLD_MODULE
- if (node->nd_flags & NG_REALLY_DIE) {
+ if (node->nd_flags & NGF_REALLY_DIE) {
NG_NODE_SET_PRIVATE (node, NULL);
NG_NODE_UNREF (node);
}
- node->nd_flags &= ~NG_INVALID;
+ NG_NODE_REVIVE(node); /* Persistant node */
#endif
#else /* __FreeBSD_version < 500000 */
drv_t *d = node->private;
OpenPOWER on IntegriCloud