From 6fdae995557f0ad16320951593d6f8f48f57c14a Mon Sep 17 00:00:00 2001 From: Michael Chan Date: Mon, 19 Jul 2010 14:15:02 +0000 Subject: [PATCH] bnx2: Use proper counter for net_device_stats->multicast. We were using the wrong tx multicast counter instead of the rx multicast counter. Reported-by: Peter Snellman Reviewed-by: Benjamin Li Reviewed-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- drivers/net/bnx2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/bnx2.c b/drivers/net/bnx2.c index ce3217b441a4..deb7f83e8245 100644 --- a/drivers/net/bnx2.c +++ b/drivers/net/bnx2.c @@ -6631,7 +6631,7 @@ bnx2_get_stats64(struct net_device *dev, struct rtnl_link_stats64 *net_stats) GET_64BIT_NET_STATS(stat_IfHCOutOctets); net_stats->multicast = - GET_64BIT_NET_STATS(stat_IfHCOutMulticastPkts); + GET_64BIT_NET_STATS(stat_IfHCInMulticastPkts); net_stats->collisions = GET_32BIT_NET_STATS(stat_EtherStatsCollisions);