aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2010-07-19 10:15:02 -0400
committerDavid S. Miller <davem@davemloft.net>2010-07-19 23:30:05 -0400
commit6fdae995557f0ad16320951593d6f8f48f57c14a (patch)
tree1ad035e8ee1e32ec146a672c36044f8966f5d34b /drivers
parent99faf68e2b4e139c63139b83d18c74faeae278ef (diff)
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 <peter.snellman@cinnober.com> Reviewed-by: Benjamin Li <benli@broadcom.com> Reviewed-by: Matt Carlson <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2.c2
1 files changed, 1 insertions, 1 deletions
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)
6631 GET_64BIT_NET_STATS(stat_IfHCOutOctets); 6631 GET_64BIT_NET_STATS(stat_IfHCOutOctets);
6632 6632
6633 net_stats->multicast = 6633 net_stats->multicast =
6634 GET_64BIT_NET_STATS(stat_IfHCOutMulticastPkts); 6634 GET_64BIT_NET_STATS(stat_IfHCInMulticastPkts);
6635 6635
6636 net_stats->collisions = 6636 net_stats->collisions =
6637 GET_32BIT_NET_STATS(stat_EtherStatsCollisions); 6637 GET_32BIT_NET_STATS(stat_EtherStatsCollisions);