From: David Ward Date: Thu, 13 Sep 2012 05:22:32 +0000 (+0000) Subject: net_sched: gred: correct comment about qavg calculation in RIO mode X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=e29fe837bfa3ca0a9f4ef1d4a90e6e0a74b6b8a0;p=~shefty%2Frdma-dev.git net_sched: gred: correct comment about qavg calculation in RIO mode Signed-off-by: David Ward Acked-by: Jamal Hadi Salim Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index e901583e4ea..fca73cdf44d 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;