diff options
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 16191998ac67..2f8a8c32021e 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -646,7 +646,7 @@ spider_net_set_multi(struct net_device *netdev) | |||
646 | hash = spider_net_get_multicast_hash(netdev, netdev->broadcast); */ | 646 | hash = spider_net_get_multicast_hash(netdev, netdev->broadcast); */ |
647 | set_bit(0xfd, bitmask); | 647 | set_bit(0xfd, bitmask); |
648 | 648 | ||
649 | for (mc = netdev->mc_list; mc; mc = mc->next) { | 649 | netdev_for_each_mc_addr(mc, netdev) { |
650 | hash = spider_net_get_multicast_hash(netdev, mc->dmi_addr); | 650 | hash = spider_net_get_multicast_hash(netdev, mc->dmi_addr); |
651 | set_bit(hash, bitmask); | 651 | set_bit(hash, bitmask); |
652 | } | 652 | } |