| 461 | } |
| 462 | |
| 463 | static void |
| 464 | if_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. |
nothing calls this directly
no test coverage detected