svn commit: r345194 - head/sys/net

Kyle Evans kevans at FreeBSD.org
Fri Mar 15 17:19:37 UTC 2019


Author: kevans
Date: Fri Mar 15 17:19:36 2019
New Revision: 345194
URL: https://svnweb.freebsd.org/changeset/base/345194

Log:
  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:
  head/sys/net/if_bridge.c

Modified: head/sys/net/if_bridge.c
==============================================================================
--- head/sys/net/if_bridge.c	Fri Mar 15 17:18:19 2019	(r345193)
+++ head/sys/net/if_bridge.c	Fri Mar 15 17:19:36 2019	(r345194)
@@ -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);
 }
 


More information about the svn-src-all mailing list