Add the same check as vlan(4) where we ignore the ifnet departure event if the
interface is just being renamed. PR: kern/169557 Submitted by: Mark Johnston MFC after: 3 days
This commit is contained in:
parent
8046a47e76
commit
61587a8403
@ -797,6 +797,9 @@ lagg_port_ifdetach(void *arg __unused, struct ifnet *ifp)
|
||||
|
||||
if ((lp = ifp->if_lagg) == NULL)
|
||||
return;
|
||||
/* If the ifnet is just being renamed, don't do anything. */
|
||||
if (ifp->if_flags & IFF_RENAMING)
|
||||
return;
|
||||
|
||||
sc = lp->lp_softc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user