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:
parent
8700b24578
commit
a688a70512
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user