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

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

diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_csz.c linux/net/sched/sch_csz.c
@@ -459,7 +459,7 @@
 
 	this = &q->flow[flow_id];
 	if (this->q.qlen >= this->max_bytes || this->L_tab == NULL) {
-		kfree_skb(skb, FREE_WRITE);
+		kfree_skb(skb);
 		return 0;
 	}
 
@@ -711,12 +711,12 @@
 
 	for (i=0; i<4; i++)
 		while ((skb=skb_dequeue(&q->other[i])) != NULL)
-			kfree_skb(skb, 0);
+			kfree_skb(skb);
 
 	for (i=0; i<CSZ_MAX_GUARANTEED; i++) {
 		struct csz_flow *this = q->flow + i;
 		while ((skb = skb_dequeue(&this->q)) != NULL)
-			kfree_skb(skb, FREE_WRITE);
+			kfree_skb(skb);
 		this->snext = this->sprev =
 		this->fnext = this->fprev = (struct csz_head*)this;
 		this->start = this->finish = 0;

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