Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2012 07:03:14 +0000 (UTC)
From:      Navdeep Parhar <np@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r238057 - stable/9/sys/dev/cxgbe
Message-ID:  <201207030703.q6373EkS027467@svn.freebsd.org>

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



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