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

Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sched/sch_sfq.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_tbf.c linux/net/sched/sch_tbf.c
@@ -118,7 +118,7 @@
 
 	__skb_unlink(skb, &sch->q);
 	q->bytes -= skb->len;
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 0;
 }
 
@@ -187,7 +187,7 @@
 	struct sk_buff *skb;
 
 	while ((skb = __skb_dequeue(&sch->q)) != NULL)
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 	q->bytes = 0;
 	PSCHED_GET_TIME(q->t_c);
 	q->tokens = q->depth;

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