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:
Mark Johnston 2013-03-28 20:37:07 +00:00
parent 31f5980bd9
commit 83a3ff21a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248851

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);