diff options
author | Alexander Kabaev <kan@FreeBSD.org> | 2017-12-23 16:24:00 +0000 |
---|---|---|
committer | Alexander Kabaev <kan@FreeBSD.org> | 2017-12-23 16:24:00 +0000 |
commit | ce4ab99d82111e683beca99631ae5a90fda26f3c (patch) | |
tree | 5c1d169112be2999072c3eddd78c9abdfa68c750 | |
parent | 3395dd6eb8f69fd45aec7238eba75476f2eb050c (diff) |
Notes
-rw-r--r-- | sys/net/if_clone.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_clone.c b/sys/net/if_clone.c index c455357cae8fc..23381267650e4 100644 --- a/sys/net/if_clone.c +++ b/sys/net/if_clone.c @@ -355,7 +355,7 @@ if_clone_alloc(const char *name, int maxunit) return (ifc); } - + static int if_clone_attach(struct if_clone *ifc) { @@ -446,7 +446,7 @@ if_clone_detach(struct if_clone *ifc) /* destroy all interfaces for this cloner */ while (!LIST_EMPTY(&ifc->ifc_iflist)) if_clone_destroyif(ifc, LIST_FIRST(&ifc->ifc_iflist)); - + IF_CLONE_REMREF(ifc); } |