Re: Linux 2.2.13pre1

David Rees (dbr@spoke.nols.com)
Sat, 28 Aug 1999 22:44:16 -0700


I didn't see the 1 line statistics patch for the via-rhine driver in
there which I posted the other day. rx_bytes stats have been missing from
the via-rhine driver since 2.2.11.

-Dave

--- drivers/net/via-rhine.c.old Mon Aug 9 12:04:57 1999
+++ drivers/net/via-rhine.c Thu Aug 26 07:41:54 1999
@@ -1058,6 +1058,7 @@
skb->protocol = eth_type_trans(skb, dev);
netif_rx(skb);
dev->last_rx = jiffies;
+ np->stats.rx_bytes += pkt_len;
np->stats.rx_packets++;
}
entry = (++np->cur_rx) % RX_RING_SIZE;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/