patch-2.1.86 linux/net/sched/sch_red.c
Next file: linux/net/sched/sch_sfq.c
Previous file: linux/net/sched/sch_generic.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Feb 10 12:41:16 1998
- Orig file:
v2.1.85/linux/net/sched/sch_red.c
- Orig date:
Sun Nov 30 14:00:40 1997
diff -u --recursive --new-file v2.1.85/linux/net/sched/sch_red.c linux/net/sched/sch_red.c
@@ -189,7 +189,7 @@
return 1;
}
drop:
- kfree_skb(skb, FREE_WRITE);
+ kfree_skb(skb);
return 0;
}
if (q->qave >= q->qth_max) {
@@ -231,7 +231,7 @@
while((skb=skb_dequeue(&sch->q))!=NULL) {
q->qbytes -= skb->len;
- kfree_skb(skb,FREE_WRITE);
+ kfree_skb(skb);
}
if (q->qbytes) {
printk("red_reset: qbytes=%lu\n", q->qbytes);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov