diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-03-01 00:09:14 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-17 00:23:25 -0400 |
commit | ff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a (patch) | |
tree | 38673e8515a0948ed435dc0b9403c62269c7f8f4 /drivers/s390 | |
parent | 0dc7d2b3cbfcf4ff20bdc68f563a2e52e6a2178f (diff) |
net: convert multiple drivers to use netdev_for_each_mc_addr, part7
In mlx4, using char * to store mc address in private structure instead.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/net/qeth_l2_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/net/qeth_l2_main.c b/drivers/s390/net/qeth_l2_main.c index 6f1e3036bafd..7576ad5a833a 100644 --- a/drivers/s390/net/qeth_l2_main.c +++ b/drivers/s390/net/qeth_l2_main.c | |||
@@ -619,7 +619,7 @@ static void qeth_l2_set_multicast_list(struct net_device *dev) | |||
619 | return; | 619 | return; |
620 | qeth_l2_del_all_mc(card); | 620 | qeth_l2_del_all_mc(card); |
621 | spin_lock_bh(&card->mclock); | 621 | spin_lock_bh(&card->mclock); |
622 | for (dm = dev->mc_list; dm; dm = dm->next) | 622 | netdev_for_each_mc_addr(dm, dev) |
623 | qeth_l2_add_mc(card, dm->da_addr, 0); | 623 | qeth_l2_add_mc(card, dm->da_addr, 0); |
624 | 624 | ||
625 | netdev_for_each_uc_addr(ha, dev) | 625 | netdev_for_each_uc_addr(ha, dev) |