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

Function destroy_nhgrp

freebsd/net/route/nhgrp_ctl.c:370–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370__noinline static void
371destroy_nhgrp(struct nhgrp_priv *nhg_priv)
372{
373
374 KASSERT((nhg_priv->nhg_refcount == 0), ("nhg_refcount != 0"));
375
376 DPRINTF("DEL MPATH %p", nhg_priv);
377
378 KASSERT((nhg_priv->nhg_idx == 0), ("gr_idx != 0"));
379
380 free_nhgrp_nhops(nhg_priv);
381
382 destroy_nhgrp_int(nhg_priv);
383}
384
385/*
386 * Epoch callback indicating group is safe to destroy

Callers 1

destroy_nhgrp_epochFunction · 0.85

Calls 2

free_nhgrp_nhopsFunction · 0.85
destroy_nhgrp_intFunction · 0.85

Tested by

no test coverage detected