Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231217
b: refs/heads/master
c: f767b6d
h: refs/heads/master
i:
  231215: b909d91
v: v3
  • Loading branch information
Joe Perches authored and David S. Miller committed Jan 14, 2011
1 parent 2b599b1 commit 78811b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 78d07369462e9feeaa5db301b0aa70e9dcb40b48
refs/heads/master: f767b6df8a796f901b2bd595ae22234636be4124
9 changes: 1 addition & 8 deletions trunk/drivers/net/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1284,19 +1284,12 @@ static void bfin_mac_multicast_hash(struct net_device *dev)
{
u32 emac_hashhi, emac_hashlo;
struct netdev_hw_addr *ha;
char *addrs;
u32 crc;

emac_hashhi = emac_hashlo = 0;

netdev_for_each_mc_addr(ha, dev) {
addrs = ha->addr;

/* skip non-multicast addresses */
if (!is_multicast_ether_addr(addrs))
continue;

crc = ether_crc(ETH_ALEN, addrs);
crc = ether_crc(ETH_ALEN, ha->addr);
crc >>= 26;

if (crc & 0x20)
Expand Down

0 comments on commit 78811b9

Please sign in to comment.