diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-02-22 10:22:26 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-23 00:45:52 +0100 |
commit | 48e2f183cb1709600012265a2e723f45a350d5fe (patch) | |
tree | 608368bda6f159342c307deca3b03998d25434c8 /drivers/net/ipg.c | |
parent | e1000: convert to use netdev_for_each_mc_addr (diff) | |
download | linux-48e2f183cb1709600012265a2e723f45a350d5fe.tar.xz linux-48e2f183cb1709600012265a2e723f45a350d5fe.zip |
net: convert multiple drivers to use netdev_for_each_mc_addr, part4
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipg.c')
-rw-r--r-- | drivers/net/ipg.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ipg.c b/drivers/net/ipg.c index 3ca49e348c9d..150415e83f61 100644 --- a/drivers/net/ipg.c +++ b/drivers/net/ipg.c @@ -608,8 +608,7 @@ static void ipg_nic_set_multicast_list(struct net_device *dev) hashtable[1] = 0x00000000; /* Cycle through all multicast addresses to filter. */ - for (mc_list_ptr = dev->mc_list; - mc_list_ptr != NULL; mc_list_ptr = mc_list_ptr->next) { + netdev_for_each_mc_addr(mc_list_ptr, dev) { /* Calculate CRC result for each multicast address. */ hashindex = crc32_le(0xffffffff, mc_list_ptr->dmi_addr, ETH_ALEN); |