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

Function bridge_rtable_fini

freebsd/net/if_bridge.c:2939–2946  ·  view source on GitHub ↗

* bridge_rtable_fini: * * Deconstruct the route table for this bridge. */

Source from the content-addressed store, hash-verified

2937 * Deconstruct the route table for this bridge.
2938 */
2939static void
2940bridge_rtable_fini(struct bridge_softc *sc)
2941{
2942
2943 KASSERT(sc->sc_brtcnt == 0,
2944 ("%s: %d bridge routes referenced", __func__, sc->sc_brtcnt));
2945 free(sc->sc_rthash, M_DEVBUF);
2946}
2947
2948/*
2949 * The following hash function is adapted from "Hash Functions" by Bob Jenkins

Callers 1

bridge_clone_destroyFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected