projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c64b0c
)
netdev: bfin_mac: Use is_multicast_ether_addr helper
author
Tobias Klauser
<tklauser@distanz.ch>
Tue, 11 Jan 2011 23:30:11 +0000
(23:30 +0000)
committer
David S. Miller
<davem@davemloft.net>
Thu, 13 Jan 2011 02:46:12 +0000
(18:46 -0800)
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bfin_mac.c
patch
|
blob
|
history
diff --git
a/drivers/net/bfin_mac.c
b/drivers/net/bfin_mac.c
index 0b9fc5173aef1478355e9cadbcb635f1fdca594d..fe75e7a9742e3c41ed22520a4771b64353b7d417 100644
(file)
--- a/
drivers/net/bfin_mac.c
+++ b/
drivers/net/bfin_mac.c
@@
-1293,7
+1293,7
@@
static void bfin_mac_multicast_hash(struct net_device *dev)
addrs = ha->addr;
/* skip non-multicast addresses */
- if (!
(*addrs & 1
))
+ if (!
is_multicast_ether_addr(addrs
))
continue;
crc = ether_crc(ETH_ALEN, addrs);