[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120511.181721.2127370946821555231.davem@davemloft.net>
Date: Fri, 11 May 2012 18:17:21 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: xiaosuo@...il.com, netdev@...r.kernel.org,
dave.taht@...ferbloat.net, nichols@...lere.com, van@...lere.net,
therbert@...gle.com, mattmathis@...gle.com, ycheng@...gle.com,
shemminger@...tta.com, maze@...gle.com, nanditad@...gle.com
Subject: Re: [PATCH v2 net-next] fq_codel: Fair Queue Codel AQM
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sat, 12 May 2012 00:16:16 +0200
> On Fri, 2012-05-11 at 21:30 +0200, Eric Dumazet wrote:
>> From: Eric Dumazet <edumazet@...gle.com>
>
> ...
>
>> +static int fq_codel_dump_class_stats(struct Qdisc *sch, unsigned long cl,
>> + struct gnet_dump *d)
>> +{
>> + struct fq_codel_sched_data *q = qdisc_priv(sch);
>> + u32 idx = cl - 1;
>> + struct gnet_stats_queue qs = { 0 };
>> + struct tc_fq_codel_xstats xstats;
>> +
>> + WARN_ON_ONCE(1);
>> + if (idx < q->flows_cnt) {
>> + const struct fq_codel_flow *flow = &q->flows[idx];
>> + const struct sk_buff *skb = flow->head;
>
> Oh well, I forgot to remove this WARN_ON_ONCE(1)
I can do it.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists