patch-2.4.2 linux/drivers/net/appletalk/ltpc.c

Next file: linux/drivers/net/arcnet/Makefile
Previous file: linux/drivers/net/appletalk/cops.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/drivers/net/appletalk/ltpc.c linux/drivers/net/appletalk/ltpc.c
@@ -215,7 +215,7 @@
 #include <linux/ptrace.h>
 #include <linux/ioport.h>
 #include <linux/in.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
 #include <linux/string.h>
 #include <asm/system.h>
 #include <asm/bitops.h>
@@ -787,6 +787,7 @@
 
 	/* toss it onwards */
 	netif_rx(skb);
+	dev->last_rx = jiffies;
 	return 0;
 }
 

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