]> Pileus Git - ~andy/linux/commitdiff
net_sched: gred: correct comment about qavg calculation in RIO mode
authorDavid Ward <david.ward@ll.mit.edu>
Thu, 13 Sep 2012 05:22:32 +0000 (05:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:10:13 +0000 (16:10 -0400)
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>
net/sched/sch_gred.c

index e901583e4ea533581f13e0fb39599f72e57b3e4c..fca73cdf44d9b6f590b1efac7007a0f70c228055 100644 (file)
@@ -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;