1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

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:
Kyle Evans 2019-03-15 17:19:36 +00:00
parent 6e6b93fe1d
commit 4920f9a348
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=345194

View File

@ -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);
}