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

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

diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_generic.c linux/net/sched/sch_generic.c
@@ -98,7 +98,7 @@
 static int
 noop_enqueue(struct sk_buff *skb, struct Qdisc * qdisc)
 {
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 0;
 }
 
@@ -139,7 +139,7 @@
 		return 1;
 	}
 	qdisc->dropped++;
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 0;
 }
 
@@ -213,7 +213,7 @@
 {
 	if (net_ratelimit())
 		printk(KERN_DEBUG "%s deferred output. It is buggy.\n", skb->dev->name);
-	kfree_skb(skb, FREE_WRITE);
+	kfree_skb(skb);
 	return 0;
 }
 
@@ -414,7 +414,7 @@
 		}
 
 		printk(KERN_DEBUG "%s: it is impossible!!!\n", dev->name);
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 	}
 	return q->q.qlen;
 }

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