svn commit: r346303 - in stable: 11/sys/net 12/sys/net
Kyle Evans
kevans at FreeBSD.org
Tue Apr 16 21:02:43 UTC 2019
Author: kevans
Date: Tue Apr 16 21:02:41 2019
New Revision: 346303
URL: https://svnweb.freebsd.org/changeset/base/346303
Log:
MFC r345192-r345194: if_bridge(4): Drop pointless rtflush
r345192:
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.
r345193:
Revert r345192: Too many trees in play for bridge(4) bits
An accidental appendage was committed that has not undergone review yet.
r345194:
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.
Modified:
stable/11/sys/net/if_bridge.c
Directory Properties:
stable/11/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/12/sys/net/if_bridge.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/11/sys/net/if_bridge.c
==============================================================================
--- stable/11/sys/net/if_bridge.c Tue Apr 16 21:01:07 2019 (r346302)
+++ stable/11/sys/net/if_bridge.c Tue Apr 16 21:02:41 2019 (r346303)
@@ -2885,7 +2885,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);
}
More information about the svn-src-stable
mailing list