* bridge_delete_span: * * Delete the specified span interface. */
| 1125 | * Delete the specified span interface. |
| 1126 | */ |
| 1127 | static void |
| 1128 | bridge_delete_span(struct bridge_softc *sc, struct bridge_iflist *bif) |
| 1129 | { |
| 1130 | BRIDGE_LOCK_ASSERT(sc); |
| 1131 | |
| 1132 | KASSERT(bif->bif_ifp->if_bridge == NULL, |
| 1133 | ("%s: not a span interface", __func__)); |
| 1134 | |
| 1135 | CK_LIST_REMOVE(bif, bif_next); |
| 1136 | |
| 1137 | NET_EPOCH_CALL(bridge_delete_member_cb, &bif->bif_epoch_ctx); |
| 1138 | } |
| 1139 | |
| 1140 | static int |
| 1141 | bridge_ioctl_add(struct bridge_softc *sc, void *arg) |
no outgoing calls
no test coverage detected