Ignore interface renames instead of removing the interface from the bridge

group.

Reviewed by:	rstone
Approved by:	rstone (co-mentor)
Sponsored by:	Sandvine Incorporated
MFC after:	1 week
This commit is contained in:
markj 2013-03-28 20:37:07 +00:00
parent 8700b24578
commit a688a70512

View File

@ -1700,6 +1700,9 @@ bridge_ifdetach(void *arg __unused, struct ifnet *ifp)
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);