diff options
Diffstat (limited to 'net/sched/sch_tbf.c')
-rw-r--r-- | net/sched/sch_tbf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/sch_tbf.c b/net/sched/sch_tbf.c index 8c2639af4c6a..b0d81098b0ee 100644 --- a/net/sched/sch_tbf.c +++ b/net/sched/sch_tbf.c | |||
@@ -115,8 +115,8 @@ struct tbf_sched_data | |||
115 | struct qdisc_watchdog watchdog; /* Watchdog timer */ | 115 | struct qdisc_watchdog watchdog; /* Watchdog timer */ |
116 | }; | 116 | }; |
117 | 117 | ||
118 | #define L2T(q,L) ((q)->R_tab->data[(L)>>(q)->R_tab->rate.cell_log]) | 118 | #define L2T(q,L) qdisc_l2t((q)->R_tab,L) |
119 | #define L2T_P(q,L) ((q)->P_tab->data[(L)>>(q)->P_tab->rate.cell_log]) | 119 | #define L2T_P(q,L) qdisc_l2t((q)->P_tab,L) |
120 | 120 | ||
121 | static int tbf_enqueue(struct sk_buff *skb, struct Qdisc* sch) | 121 | static int tbf_enqueue(struct sk_buff *skb, struct Qdisc* sch) |
122 | { | 122 | { |