diff options
| author | Archie Cobbs <archie@FreeBSD.org> | 2000-07-14 22:35:13 +0000 |
|---|---|---|
| committer | Archie Cobbs <archie@FreeBSD.org> | 2000-07-14 22:35:13 +0000 |
| commit | 840e97785b892dc491e68216f3cd8da5d65087d5 (patch) | |
| tree | 70570e76c61be88601727e94ce4c07f9be54c767 | |
| parent | 6bd19f42576cfb4ae5b7f1a995d6f054fc828ff2 (diff) | |
Notes
| -rw-r--r-- | sys/netgraph/ng_ether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netgraph/ng_ether.c b/sys/netgraph/ng_ether.c index 6984d1a45d04..86a4dcb1a41c 100644 --- a/sys/netgraph/ng_ether.c +++ b/sys/netgraph/ng_ether.c @@ -287,6 +287,7 @@ ng_ether_detach(struct ifnet *ifp) if (node == NULL) /* no node (why not?), ignore */ return; ng_rmnode(node); /* break all links to other nodes */ + node->flags |= NG_INVALID; IFP2NG(ifp) = NULL; /* detach node from interface */ priv = node->private; /* free node private info */ bzero(priv, sizeof(*priv)); |
