diff options
Diffstat (limited to 'drivers/net/iseries_veth.c')
-rw-r--r-- | drivers/net/iseries_veth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index 773c59c89691..ba1de5973fb2 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -962,15 +962,15 @@ static void veth_set_multicast_list(struct net_device *dev) | |||
962 | (netdev_mc_count(dev) > VETH_MAX_MCAST)) { | 962 | (netdev_mc_count(dev) > VETH_MAX_MCAST)) { |
963 | port->promiscuous = 1; | 963 | port->promiscuous = 1; |
964 | } else { | 964 | } else { |
965 | struct dev_mc_list *dmi; | 965 | struct netdev_hw_addr *ha; |
966 | 966 | ||
967 | port->promiscuous = 0; | 967 | port->promiscuous = 0; |
968 | 968 | ||
969 | /* Update table */ | 969 | /* Update table */ |
970 | port->num_mcast = 0; | 970 | port->num_mcast = 0; |
971 | 971 | ||
972 | netdev_for_each_mc_addr(dmi, dev) { | 972 | netdev_for_each_mc_addr(ha, dev) { |
973 | u8 *addr = dmi->dmi_addr; | 973 | u8 *addr = ha->addr; |
974 | u64 xaddr = 0; | 974 | u64 xaddr = 0; |
975 | 975 | ||
976 | if (addr[0] & 0x01) {/* multicast address? */ | 976 | if (addr[0] & 0x01) {/* multicast address? */ |