Re: [PATCH][NET_SCHED] sch_sfq: fix queue limiting while enqueuing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jarek Poplawski
Date: Tuesday, April 29, 2008 - 1:53 pm

On Mon, Apr 28, 2008 at 04:58:37PM +0200, Jarek Poplawski wrote:
...

  
static inline void sfq_link(struct sfq_sched_data *q, sfq_index x)
{
	sfq_index p, n;
	int d = q->qs[x].qlen + SFQ_DEPTH;
-------------------->^^^^^^^^

	p = d;
	n = q->dep[d].next;
...

So it's really by design! (I don't know why I missed this, and why
it didn't break my lame test...)

Thanks again for stopping this disaster,
Jarek P. 
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH][NET_SCHED] sch_sfq: prevent unnecessary reordering, Jarek Poplawski, (Mon Apr 28, 2:04 am)
Re: [PATCH][NET_SCHED] sch_sfq: fix queue limiting while e ..., Jarek Poplawski, (Tue Apr 29, 1:53 pm)