Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_lagg.c
Show First 20 Lines • Show All 799 Lines • ▼ Show 20 Lines | CK_SLIST_FOREACH(lp, &sc->sc_ports, lp_entries) { | ||||
} | } | ||||
} | } | ||||
return (m + 1); | return (m + 1); | ||||
} | } | ||||
#endif | #endif | ||||
static void | static void | ||||
lagg_port_destroy_cb(epoch_context_t ec) | lagg_port_destroy_cb(epoch_context_t *ec) | ||||
{ | { | ||||
struct lagg_port *lp; | struct lagg_port *lp; | ||||
struct ifnet *ifp; | struct ifnet *ifp; | ||||
lp = __containerof(ec, struct lagg_port, lp_epoch_ctx); | lp = __containerof(ec, struct lagg_port, lp_epoch_ctx); | ||||
ifp = lp->lp_ifp; | ifp = lp->lp_ifp; | ||||
if_rele(ifp); | if_rele(ifp); | ||||
▲ Show 20 Lines • Show All 1,435 Lines • Show Last 20 Lines |