]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/sched/sch_cbq.c
[NET_SCHED]: Cleanup L2T macros and handle oversized packets
[linux-2.6-omap-h63xx.git] / net / sched / sch_cbq.c
index cbef3bbfc20f15e84c36cb6dafd9f2e08319e20d..4de3744e65c35cdf688b1c134749535f42ca6e07 100644 (file)
@@ -175,7 +175,7 @@ struct cbq_sched_data
 };
 
 
-#define L2T(cl,len)    ((cl)->R_tab->data[(len)>>(cl)->R_tab->rate.cell_log])
+#define L2T(cl,len)    qdisc_l2t((cl)->R_tab,len)
 
 
 static __inline__ unsigned cbq_hash(u32 h)