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
- Lines: 11
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/rrunner.c
- Orig date:
Thu Nov 16 12:51:28 2000
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)