[Midnightbsd-cvs] src [9351] trunk/sys/net/if_bridge.c: Ignore interface renames instead of removing the interface from the bridge
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 4 14:31:21 EST 2017
Revision: 9351
http://svnweb.midnightbsd.org/src/?rev=9351
Author: laffer1
Date: 2017-03-04 14:31:21 -0500 (Sat, 04 Mar 2017)
Log Message:
-----------
Ignore interface renames instead of removing the interface from the bridge
group.
Modified Paths:
--------------
trunk/sys/net/if_bridge.c
Modified: trunk/sys/net/if_bridge.c
===================================================================
--- trunk/sys/net/if_bridge.c 2017-03-04 16:53:09 UTC (rev 9350)
+++ trunk/sys/net/if_bridge.c 2017-03-04 19:31:21 UTC (rev 9351)
@@ -1701,6 +1701,9 @@
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 Midnightbsd-cvs
mailing list