svn commit: r338162 - head/sys/net

Matt Macy mmacy at FreeBSD.org
Tue Aug 21 22:59:23 UTC 2018


Author: mmacy
Date: Tue Aug 21 22:59:22 2018
New Revision: 338162
URL: https://svnweb.freebsd.org/changeset/base/338162

Log:
  fix copy/paste error when clearing ifma flag
  
  CID: 1395119
  Reported by:	vangyzen

Modified:
  head/sys/net/if.c

Modified: head/sys/net/if.c
==============================================================================
--- head/sys/net/if.c	Tue Aug 21 22:19:34 2018	(r338161)
+++ head/sys/net/if.c	Tue Aug 21 22:59:22 2018	(r338162)
@@ -3779,7 +3779,7 @@ if_delmulti_locked(struct ifnet *ifp, struct ifmultiad
 				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);


More information about the svn-src-all mailing list