netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] net: e1000e: Use is_multicast_ether_addr helper
@ 2011-07-04  9:47 Tobias Klauser
  2011-07-05  3:30 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2011-07-04  9:47 UTC (permalink / raw)
  To: David S. Miller, Jeff Kirsher; +Cc: e1000-devel, netdev

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---
 drivers/net/e1000e/lib.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/e1000e/lib.c b/drivers/net/e1000e/lib.c
index dd8ab05..b85b3ca 100644
--- a/drivers/net/e1000e/lib.c
+++ b/drivers/net/e1000e/lib.c
@@ -220,7 +220,7 @@ s32 e1000_check_alt_mac_addr_generic(struct e1000_hw *hw)
 	}
 
 	/* if multicast bit is set, the alternate address will not be used */
-	if (alt_mac_addr[0] & 0x01) {
+	if (is_multicast_ether_addr(alt_mac_addr)) {
 		e_dbg("Ignoring Alternate Mac Address with MC bit set\n");
 		goto out;
 	}
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH net-next] net: e1000e: Use is_multicast_ether_addr helper
  2011-07-04  9:47 [PATCH net-next] net: e1000e: Use is_multicast_ether_addr helper Tobias Klauser
@ 2011-07-05  3:30 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2011-07-05  3:30 UTC (permalink / raw)
  To: tklauser; +Cc: e1000-devel, netdev

From: Tobias Klauser <tklauser@distanz.ch>
Date: Mon,  4 Jul 2011 11:47:04 +0200

> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

Applied.

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel&#174; Ethernet, visit http://communities.intel.com/community/wired

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-05  3:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04  9:47 [PATCH net-next] net: e1000e: Use is_multicast_ether_addr helper Tobias Klauser
2011-07-05  3:30 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).