summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_sfq.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 /net/sched/sch_sfq.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 'net/sched/sch_sfq.c')
-rw-r--r--net/sched/sch_sfq.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 65c3906b4..7a90df655 100644
--- a/net/sched/sch_sfq.c
+++ b/net/sched/sch_sfq.c
@@ -12,7 +12,6 @@
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/bitops.h>
-#include <linux/config.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
@@ -174,7 +173,7 @@ static __inline__ void sfq_drop(struct sfq_sched_data *q)
sfq_index x = q->dep[d].next;
skb = q->qs[x].prev;
__skb_unlink(skb, &q->qs[x]);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
sfq_dec(q, x);
/*
sch->q.qlen--;
@@ -189,7 +188,7 @@ static __inline__ void sfq_drop(struct sfq_sched_data *q)
q->allot[q->next[d]] += q->quantum;
skb = q->qs[d].prev;
__skb_unlink(skb, &q->qs[d]);
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
sfq_dec(q, d);
/*
sch->q.qlen--;
@@ -271,7 +270,7 @@ sfq_reset(struct Qdisc* sch)
struct sk_buff *skb;
while ((skb = sfq_dequeue(sch)) != NULL)
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
}