summaryrefslogtreecommitdiffstats
path: root/drivers/net/strip.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/net/strip.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/net/strip.c')
-rw-r--r--drivers/net/strip.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/strip.c b/drivers/net/strip.c
index ce5595dfa..c3b2f994e 100644
--- a/drivers/net/strip.c
+++ b/drivers/net/strip.c
@@ -1575,7 +1575,7 @@ static int strip_xmit(struct sk_buff *skb, struct device *dev)
strip_send(strip_info, skb);
- if (skb) dev_kfree_skb(skb, FREE_WRITE);
+ if (skb) dev_kfree_skb(skb);
return(0);
}
@@ -1631,11 +1631,9 @@ static int strip_header(struct sk_buff *skb, struct device *dev,
static int strip_rebuild_header(struct sk_buff *skb)
{
+#ifdef CONFIG_INET
STRIP_Header *header = (STRIP_Header *)skb->data;
- /*printk(KERN_INFO "%s: strip_rebuild_header\n", skb->dev->name);*/
-
-#ifdef CONFIG_INET
/* Arp find returns zero if if knows the address, */
/* or if it doesn't know the address it sends an ARP packet and returns non-zero */
return arp_find(header->dst_addr.c, skb)? 1 : 0;