* bridge_rtable_fini: * * Deconstruct the route table for this bridge. */
| 2937 | * Deconstruct the route table for this bridge. |
| 2938 | */ |
| 2939 | static void |
| 2940 | bridge_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 |
no test coverage detected