diff options
author | David Ward <david.ward@ll.mit.edu> | 2012-09-13 07:22:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-09-13 22:10:13 +0200 |
commit | e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0 (patch) | |
tree | 7f22121054a969936280a01005951458d37836dd /net/sched/sch_gred.c | |
parent | mISDN: Fix wrong usage of flush_work_sync while holding locks (diff) | |
download | linux-e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0.tar.xz linux-e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0.zip |
net_sched: gred: correct comment about qavg calculation in RIO mode
Signed-off-by: David Ward <david.ward@ll.mit.edu>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_gred.c')
-rw-r--r-- | net/sched/sch_gred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index e901583e4ea5..fca73cdf44d9 100644 --- a/net/sched/sch_gred.c +++ b/net/sched/sch_gred.c @@ -176,7 +176,7 @@ static int gred_enqueue(struct sk_buff *skb, struct Qdisc *sch) skb->tc_index = (skb->tc_index & ~GRED_VQ_MASK) | dp; } - /* sum up all the qaves of prios <= to ours to get the new qave */ + /* sum up all the qaves of prios < ours to get the new qave */ if (!gred_wred_mode(t) && gred_rio_mode(t)) { int i; |