net: use netdev_mc_count and netdev_mc_empty when appropriate
[deliverable/linux.git] / net / core / dev.c
index ae75f25ac0a5d0af7b3f60a328a6f005d552b9f6..d1cf53d0d5973e5d441d333b4e3225fe7b23d76f 100644 (file)
@@ -4263,7 +4263,7 @@ static void dev_addr_discard(struct net_device *dev)
        netif_addr_lock_bh(dev);
 
        __dev_addr_discard(&dev->mc_list);
-       dev->mc_count = 0;
+       netdev_mc_count(dev) = 0;
 
        netif_addr_unlock_bh(dev);
 }
This page took 0.024718 seconds and 5 git commands to generate.