Date: Tue, 16 Apr 2019 21:02:42 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r346303 - in stable: 11/sys/net 12/sys/net Message-ID: <201904162102.x3GL2ghB051852@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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/12/sys/net/if_bridge.c Directory Properties: stable/12/ (props changed) Changes in other areas also in this revision: Modified: stable/11/sys/net/if_bridge.c Directory Properties: stable/11/ (props changed) Modified: stable/12/sys/net/if_bridge.c ============================================================================== --- stable/12/sys/net/if_bridge.c Tue Apr 16 21:01:07 2019 (r346302) +++ stable/12/sys/net/if_bridge.c Tue Apr 16 21:02:41 2019 (r346303) @@ -2892,7 +2892,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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904162102.x3GL2ghB051852>