summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethertap.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
committerRalf Baechle <ralf@linux-mips.org>2001-03-09 20:33:35 +0000
commit116674acc97ba75a720329996877077d988443a2 (patch)
tree6a3f2ff0b612ae2ee8a3f3509370c9e6333a53b3 /drivers/net/ethertap.c
parent71118c319fcae4a138f16e35b4f7e0a6d53ce2ca (diff)
Merge with Linux 2.4.2.
Diffstat (limited to 'drivers/net/ethertap.c')
-rw-r--r--drivers/net/ethertap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethertap.c b/drivers/net/ethertap.c
index 5863998cb..c24fe32a8 100644
--- a/drivers/net/ethertap.c
+++ b/drivers/net/ethertap.c
@@ -16,7 +16,7 @@
#include <linux/kernel.h>
#include <linux/sched.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/string.h>
#include <linux/errno.h>
@@ -279,6 +279,7 @@ static __inline__ int ethertap_rx_skb(struct sk_buff *skb, struct net_device *de
lp->stats.rx_packets++;
lp->stats.rx_bytes+=len;
netif_rx(skb);
+ dev->last_rx = jiffies;
return len;
}