patch-2.3.15 linux/net/sched/sch_csz.c
Next file: linux/net/sched/sch_fifo.c
Previous file: linux/net/sched/sch_cbq.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Aug 23 10:01:02 1999
- Orig file:
v2.3.14/linux/net/sched/sch_csz.c
- Orig date:
Wed Jun 9 14:45:37 1999
diff -u --recursive --new-file v2.3.14/linux/net/sched/sch_csz.c linux/net/sched/sch_csz.c
@@ -477,7 +477,7 @@
if (this->q.qlen >= this->limit || this->L_tab == NULL) {
sch->stats.drops++;
kfree_skb(skb);
- return 0;
+ return NET_XMIT_DROP;
}
R = csz_update(sch);
@@ -505,7 +505,7 @@
sch->q.qlen++;
sch->stats.bytes += skb->len;
sch->stats.packets++;
- return 1;
+ return 0;
}
static __inline__ struct sk_buff *
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)