patch-2.4.2 linux/drivers/net/rrunner.c

Next file: linux/drivers/net/sb1000.c
Previous file: linux/drivers/net/rcpci45.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/net/rrunner.c linux/drivers/net/rrunner.c
@@ -997,8 +997,9 @@
 
 			netif_rx(skb);		/* send it up */
 
+			dev->last_rx = jiffies;
 			rrpriv->stats.rx_packets++;
-			rrpriv->stats.rx_bytes += skb->len;
+			rrpriv->stats.rx_bytes += pkt_len;
 		}
 	defer:
 		rrpriv->rx_ring[index].mode = 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)