svn commit: r238057 - stable/9/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Tue Jul 3 07:03:15 UTC 2012


Author: np
Date: Tue Jul  3 07:03:14 2012
New Revision: 238057
URL: http://svn.freebsd.org/changeset/base/238057

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

Modified:
  stable/9/sys/dev/cxgbe/t4_main.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)

Modified: stable/9/sys/dev/cxgbe/t4_main.c
==============================================================================
--- stable/9/sys/dev/cxgbe/t4_main.c	Tue Jul  3 07:01:12 2012	(r238056)
+++ stable/9/sys/dev/cxgbe/t4_main.c	Tue Jul  3 07:03:14 2012	(r238057)
@@ -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-stable-9 mailing list