From cb959fa205386d63a61d44673befa7c1d5f4d111 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Sat, 20 Sep 2008 19:38:37 +0000 Subject: Fix clone destruction, can't use the simple api because that does not remove the ifnet from cloner's list. Expose if_clone_destroyif api to do this. Submitted by: sam --- sys/net/if_clone.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/net/if_clone.h') diff --git a/sys/net/if_clone.h b/sys/net/if_clone.h index af3395fe7e6a..280a5455db86 100644 --- a/sys/net/if_clone.h +++ b/sys/net/if_clone.h @@ -75,6 +75,7 @@ void if_clone_detach(struct if_clone *); int if_clone_create(char *, size_t, caddr_t); int if_clone_destroy(const char *); +int if_clone_destroyif(struct if_clone *, struct ifnet *); int if_clone_list(struct if_clonereq *); int ifc_name2unit(const char *name, int *unit); -- cgit v1.2.3