[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160516.215703.1101489106168609896.davem@davemloft.net>
Date: Mon, 16 May 2016 21:57:03 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: brouer@...hat.com, dave.taht@...il.com, netdev@...r.kernel.org,
moeller0@....de
Subject: Re: [PATCH net-next] fq_codel: fix memory limitation drift
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Sun, 15 May 2016 18:16:38 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> memory_usage must be decreased in dequeue_func(), not in
> fq_codel_dequeue(), otherwise packets dropped by Codel algo
> are missing this decrease.
>
> Also we need to clear memory_usage in fq_codel_reset()
>
> Fixes: 95b58430abe7 ("fq_codel: add memory limitation per queue")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied.
Powered by blists - more mailing lists