diff options
author | Eric Dumazet <edumazet@google.com> | 2016-05-16 03:16:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-17 03:54:24 +0200 |
commit | 77f57761466e9aef2b57acf8ce07df11bf360e34 (patch) | |
tree | 5b60d91757574c917d979ff83c37f69671350c44 /net/tipc | |
parent | net: ethernet: ftgmac100: use phy_ethtool_{get|set}_link_ksettings (diff) | |
download | linux-77f57761466e9aef2b57acf8ce07df11bf360e34.tar.xz linux-77f57761466e9aef2b57acf8ce07df11bf360e34.zip |
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