svn commit: r250481 - stable/8/sys/net

Mark Johnston markj at FreeBSD.org
Fri May 10 20:57:23 UTC 2013


Author: markj
Date: Fri May 10 20:57:22 2013
New Revision: 250481
URL: http://svnweb.freebsd.org/changeset/base/250481

Log:
  MFC r248851:
    Ignore interface renames instead of removing the interface from the bridge
    group.
  
  Approved by:	emaste

Modified:
  stable/8/sys/net/if_bridge.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/net/   (props changed)

Modified: stable/8/sys/net/if_bridge.c
==============================================================================
--- stable/8/sys/net/if_bridge.c	Fri May 10 20:57:04 2013	(r250480)
+++ stable/8/sys/net/if_bridge.c	Fri May 10 20:57:22 2013	(r250481)
@@ -1700,6 +1700,9 @@ bridge_ifdetach(void *arg __unused, stru
 	struct bridge_softc *sc = ifp->if_bridge;
 	struct bridge_iflist *bif;
 
+	if (ifp->if_flags & IFF_RENAMING)
+		return;
+
 	/* Check if the interface is a bridge member */
 	if (sc != NULL) {
 		BRIDGE_LOCK(sc);


More information about the svn-src-stable-8 mailing list