diff options
Diffstat (limited to 'drivers/net/ixgbevf')
-rw-r--r-- | drivers/net/ixgbevf/ixgbevf_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbevf/ixgbevf_main.c b/drivers/net/ixgbevf/ixgbevf_main.c index b9f10d05049d..235b5fd4b8d4 100644 --- a/drivers/net/ixgbevf/ixgbevf_main.c +++ b/drivers/net/ixgbevf/ixgbevf_main.c | |||
@@ -1527,7 +1527,7 @@ static void ixgbevf_set_rx_mode(struct net_device *netdev) | |||
1527 | int addr_count = 0; | 1527 | int addr_count = 0; |
1528 | 1528 | ||
1529 | /* reprogram multicast list */ | 1529 | /* reprogram multicast list */ |
1530 | addr_count = netdev->mc_count; | 1530 | addr_count = netdev_mc_count(netdev); |
1531 | if (addr_count) | 1531 | if (addr_count) |
1532 | addr_list = netdev->mc_list->dmi_addr; | 1532 | addr_list = netdev->mc_list->dmi_addr; |
1533 | if (hw->mac.ops.update_mc_addr_list) | 1533 | if (hw->mac.ops.update_mc_addr_list) |