svn commit: r238054 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Jul 3 06:56:12 UTC 2012


Author: np
Date: Tue Jul  3 06:56:11 2012
New Revision: 238054
URL: http://svn.freebsd.org/changeset/base/238054

Log:
  Fix inverted test that resulted in incorrect multicast hw programming.

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Tue Jul  3 06:55:49 2012	(r238053)
+++ head/sys/dev/cxgbe/t4_main.c	Tue Jul  3 06:56:11 2012	(r238054)
@@ -2143,7 +2143,7 @@ update_mac_settings(struct port_info *pi
 
 		if_maddr_rlock(ifp);
 		TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) {
-			if (ifma->ifma_addr->sa_family == AF_LINK)
+			if (ifma->ifma_addr->sa_family != AF_LINK)
 				continue;
 			mcaddr[i++] =
 			    LLADDR((struct sockaddr_dl *)ifma->ifma_addr);


More information about the svn-src-head mailing list