patch-2.4.2 linux/drivers/net/a2065.c
Next file: linux/drivers/net/ac3200.c
Previous file: linux/drivers/net/Space.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/a2065.c
- Orig date:
Thu Nov 16 12:51:28 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/a2065.c linux/drivers/net/a2065.c
@@ -43,7 +43,7 @@
#include <linux/interrupt.h>
#include <linux/ptrace.h>
#include <linux/ioport.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/string.h>
#include <linux/config.h>
#include <linux/init.h>
@@ -335,7 +335,9 @@
len, 0);
skb->protocol = eth_type_trans (skb, dev);
netif_rx (skb);
+ dev->last_rx = jiffies;
lp->stats.rx_packets++;
+ lp->stats.rx_bytes += len;
}
/* Return the packet to the pool */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)