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>
This commit is contained in:

committed by
David S. Miller

parent
0dc7d2b3cb
commit
ff6e2163f2
@@ -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)
|
||||
|
Reference in New Issue
Block a user