提交 13fea6d4 编写于 作者: H Helge Deller 提交者: David S. Miller

lasi82596: fix netdev_mc_count conversion

Fix commit 4cd24eaf (net: use netdev_mc_count and netdev_mc_empty when
appropriate)
Signed-off-by: NHelge Deller <deller@gmx.de>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ade2d3db
...@@ -1343,7 +1343,7 @@ static void set_multicast_list(struct net_device *dev) ...@@ -1343,7 +1343,7 @@ static void set_multicast_list(struct net_device *dev)
DEB(DEB_MULTI, DEB(DEB_MULTI,
printk(KERN_DEBUG printk(KERN_DEBUG
"%s: set multicast list, %d entries, promisc %s, allmulti %s\n", "%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_PROMISC ? "ON" : "OFF",
dev->flags & IFF_ALLMULTI ? "ON" : "OFF")); dev->flags & IFF_ALLMULTI ? "ON" : "OFF"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册