diff options
author | Jiri Pirko <jpirko@redhat.com> | 2010-02-17 19:42:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-18 17:47:49 -0500 |
commit | 5508590c193661bc1484ad7b952af5fceacea40d (patch) | |
tree | 8b7d1655f63034725127b9456afa5bad4bb6e83a /drivers/net/sunvnet.c | |
parent | 2a0d18f97cc15d57ad0c93259a3df4cb72c5a28b (diff) |
net: convert multiple drivers to use netdev_for_each_mc_addr, part2
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sunvnet.c')
-rw-r--r-- | drivers/net/sunvnet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sunvnet.c b/drivers/net/sunvnet.c index d65764ea1d83..6b1b7cea7f6b 100644 --- a/drivers/net/sunvnet.c +++ b/drivers/net/sunvnet.c | |||
@@ -765,7 +765,7 @@ static void __update_mc_list(struct vnet *vp, struct net_device *dev) | |||
765 | { | 765 | { |
766 | struct dev_addr_list *p; | 766 | struct dev_addr_list *p; |
767 | 767 | ||
768 | for (p = dev->mc_list; p; p = p->next) { | 768 | netdev_for_each_mc_addr(p, dev) { |
769 | struct vnet_mcast_entry *m; | 769 | struct vnet_mcast_entry *m; |
770 | 770 | ||
771 | m = __vnet_mc_find(vp, p->dmi_addr); | 771 | m = __vnet_mc_find(vp, p->dmi_addr); |