Fix count of multicast packets.

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>


--- skge-2.6.orig/drivers/net/skge.c
+++ skge-2.6/drivers/net/skge.c
@@ -357,7 +357,7 @@ static struct net_device_stats *skge_get
        skge->net_stats.rx_bytes = data[1];
        skge->net_stats.tx_packets = data[2] + data[4] + data[6];
        skge->net_stats.rx_packets = data[3] + data[5] + data[7];
-       skge->net_stats.multicast = data[5] + data[7];
+       skge->net_stats.multicast = data[3] + data[5];
        skge->net_stats.collisions = data[10];
        skge->net_stats.tx_aborted_errors = data[12];
 

--

-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to