patch-2.1.86 linux/net/sched/sch_sfq.c

Next file: linux/net/sched/sch_tbf.c
Previous file: linux/net/sched/sch_red.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_sfq.c linux/net/sched/sch_sfq.c
@@ -174,7 +174,7 @@
 		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 +189,7 @@
 	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 +271,7 @@
 	struct sk_buff *skb;
 
 	while ((skb = sfq_dequeue(sch)) != NULL)
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 }
 
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov