patch-2.4.8 linux/net/sched/sch_cbq.c
Next file: linux/net/unix/af_unix.c
Previous file: linux/net/sched/cls_u32.c
Back to the patch index
Back to the overall index
- Lines: 12
- Date:
Tue Aug 7 08:30:50 2001
- Orig file:
v2.4.7/linux/net/sched/sch_cbq.c
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.7/linux/net/sched/sch_cbq.c linux/net/sched/sch_cbq.c
@@ -1245,8 +1245,10 @@
cl = cl_head;
do {
- if (cl->q->ops->drop && cl->q->ops->drop(cl->q))
+ if (cl->q->ops->drop && cl->q->ops->drop(cl->q)) {
+ sch->q.qlen--;
return 1;
+ }
} while ((cl = cl->next_alive) != cl_head);
}
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)