summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2012-09-13 05:22:32 +0000
committerDavid S. Miller <davem@davemloft.net>2012-09-13 16:10:13 -0400
commite29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0 (patch)
tree7f22121054a969936280a01005951458d37836dd /net
parent4b921eda53366b319602351ff4d7256fafa4bd1b (diff)
downloadlinux-e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0.tar.gz
linux-e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0.tar.bz2
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')
-rw-r--r--net/sched/sch_gred.c2
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;