fix copy/paste error when clearing ifma flag

CID: 1395119
Reported by:	vangyzen
This commit is contained in:
Matt Macy 2018-08-21 22:59:22 +00:00
parent 24bc8671f9
commit 77ad07b6a3

View File

@ -3779,7 +3779,7 @@ if_delmulti_locked(struct ifnet *ifp, struct ifmultiaddr *ifma, int detaching)
if (ll_ifma->ifma_flags & IFMA_F_ENQUEUED) {
CK_STAILQ_REMOVE(&ifp->if_multiaddrs, ll_ifma, ifmultiaddr,
ifma_link);
ifma->ifma_flags &= ~IFMA_F_ENQUEUED;
ll_ifma->ifma_flags &= ~IFMA_F_ENQUEUED;
}
}
if_freemulti(ll_ifma);