Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2012 06:56:11 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r238054 - head/sys/dev/cxgbe
Message-ID:  <201207030656.q636uBMV027015@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207030656.q636uBMV027015>