in_mcast: fix copy paste error when clearing flag
This commit is contained in:
parent
0878bfd030
commit
47fa74161c
@ -276,7 +276,7 @@ inm_disconnect(struct in_multi *inm)
|
||||
if (--ll_ifma->ifma_refcount == 0) {
|
||||
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;
|
||||
}
|
||||
MCDPRINTF("removed ll_ifma: %p from %s\n", ll_ifma, ifp->if_xname);
|
||||
if_freemulti(ll_ifma);
|
||||
|
@ -618,7 +618,7 @@ in6m_disconnect(struct in6_multi *inm)
|
||||
ifma6_restart = true;
|
||||
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;
|
||||
}
|
||||
MCDPRINTF("removed ll_ifma: %p from %s\n", ll_ifma, ifp->if_xname);
|
||||
if_freemulti(ll_ifma);
|
||||
|
Loading…
x
Reference in New Issue
Block a user