svn commit: r250480 - stable/9/sys/net
Mark Johnston
markj at FreeBSD.org
Fri May 10 20:57:05 UTC 2013
Author: markj
Date: Fri May 10 20:57:04 2013
New Revision: 250480
URL: http://svnweb.freebsd.org/changeset/base/250480
Log:
MFC r248851:
Ignore interface renames instead of removing the interface from the bridge
group.
Approved by: emaste
Modified:
stable/9/sys/net/if_bridge.c
Directory Properties:
stable/9/sys/ (props changed)
stable/9/sys/net/ (props changed)
Modified: stable/9/sys/net/if_bridge.c
==============================================================================
--- stable/9/sys/net/if_bridge.c Fri May 10 20:56:07 2013 (r250479)
+++ stable/9/sys/net/if_bridge.c Fri May 10 20:57:04 2013 (r250480)
@@ -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-9
mailing list