diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-03-01 05:09:14 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-03-17 04:23:25 (GMT) |
commit | ff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a (patch) | |
tree | 38673e8515a0948ed435dc0b9403c62269c7f8f4 /drivers/s390 | |
parent | 0dc7d2b3cbfcf4ff20bdc68f563a2e52e6a2178f (diff) | |
download | linux-fsl-qoriq-ff6e2163f28a1094fb5ca5950fe2b43c3cf6bc7a.tar.xz |
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 6f1e303..7576ad5 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) return; qeth_l2_del_all_mc(card); spin_lock_bh(&card->mclock); - for (dm = dev->mc_list; dm; dm = dm->next) + netdev_for_each_mc_addr(dm, dev) qeth_l2_add_mc(card, dm->da_addr, 0); netdev_for_each_uc_addr(ha, dev) |