]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
lasi82596: fix netdev_mc_count conversion
authorHelge Deller <deller@gmx.de>
Mon, 21 Jun 2010 20:50:18 +0000 (13:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jun 2010 20:50:18 +0000 (13:50 -0700)
Fix commit 4cd24eaf0 (net: use netdev_mc_count and netdev_mc_empty when
appropriate)

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/lib82596.c

index ce5d6e9092182a43d2f0660e68667edf44bfae3b..c27f4291b350422978ab9fbf55bd6318ec0953ae 100644 (file)
@@ -1343,7 +1343,7 @@ static void set_multicast_list(struct net_device *dev)
        DEB(DEB_MULTI,
            printk(KERN_DEBUG
                   "%s: set multicast list, %d entries, promisc %s, allmulti %s\n",
-                  dev->name, dev->mc_count,
+                  dev->name, netdev_mc_count(dev),
                   dev->flags & IFF_PROMISC ? "ON" : "OFF",
                   dev->flags & IFF_ALLMULTI ? "ON" : "OFF"));