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

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

diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_fifo.c linux/net/sched/sch_fifo.c
@@ -47,7 +47,7 @@
 		q->qbytes += skb->len;
 		return 0;
 	}
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 1;
 }
 
@@ -71,7 +71,7 @@
 
 	while((skb=skb_dequeue(&sch->q)) != NULL) {
 		q->qbytes -= skb->len;
-		kfree_skb(skb,FREE_WRITE);
+		kfree_skb(skb);
 	}
 	if (q->qbytes) {
 		printk("fifo_reset: qbytes=%d\n", q->qbytes);
@@ -88,7 +88,7 @@
 		skb_queue_tail(&sch->q, skb);
 		return 0;
 	}
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 1;
 }
 
@@ -104,7 +104,7 @@
 	struct sk_buff *skb;
 
 	while((skb=skb_dequeue(&sch->q))!=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