if_bridge(4): Drop pointless rtflush
At this point, all routes should've already been dropped by removing all members from the bridge. This condition is in-fact KASSERT'd in the line immediately above where this nop flush was added.
This commit is contained in:
parent
a12e4ab175
commit
07c7181f1b
@ -2890,7 +2890,6 @@ bridge_rtable_fini(struct bridge_softc *sc)
|
||||
|
||||
KASSERT(sc->sc_brtcnt == 0,
|
||||
("%s: %d bridge routes referenced", __func__, sc->sc_brtcnt));
|
||||
bridge_rtflush(sc, 1);
|
||||
free(sc->sc_rthash, M_DEVBUF);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user