summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-05-15 18:16:38 -0700
committerDavid S. Miller <davem@davemloft.net>2016-05-16 21:54:24 -0400
commit77f57761466e9aef2b57acf8ce07df11bf360e34 (patch)
tree5b60d91757574c917d979ff83c37f69671350c44 /net/tipc
parentfd24d72ca9b52558b1511edc814951cdfe5f21cf (diff)
downloadop-kernel-dev-77f57761466e9aef2b57acf8ce07df11bf360e34.zip
op-kernel-dev-77f57761466e9aef2b57acf8ce07df11bf360e34.tar.gz
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
OpenPOWER on IntegriCloud