diff options
author | Eric Dumazet <edumazet@google.com> | 2016-05-16 04:16:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 04:54:24 +0300 |
commit | 77f57761466e9aef2b57acf8ce07df11bf360e34 (patch) | |
tree | 5b60d91757574c917d979ff83c37f69671350c44 /net/tipc | |
parent | fd24d72ca9b52558b1511edc814951cdfe5f21cf (diff) | |
download | linux-77f57761466e9aef2b57acf8ce07df11bf360e34.tar.xz |
fq_codel: fix memory limitation drift
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@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions