MCPcopy Create free account
hub / github.com/F-Stack/f-stack / if_clone_free

Function if_clone_free

freebsd/net/if_clone.c:463–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

461}
462
463static void
464if_clone_free(struct if_clone *ifc)
465{
466
467 KASSERT(LIST_EMPTY(&ifc->ifc_iflist),
468 ("%s: ifc_iflist not empty", __func__));
469
470 IF_CLONE_LOCK_DESTROY(ifc);
471 delete_unrhdr(ifc->ifc_unrhdr);
472 free(ifc, M_CLONE);
473}
474
475/*
476 * Provide list of interface cloners to userspace.

Callers

nothing calls this directly

Calls 2

delete_unrhdrFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected