summaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-05-16 03:16:38 +0200
committerDavid S. Miller <davem@davemloft.net>2016-05-17 03:54:24 +0200
commit77f57761466e9aef2b57acf8ce07df11bf360e34 (patch)
tree5b60d91757574c917d979ff83c37f69671350c44 /net/tipc
parentnet: ethernet: ftgmac100: use phy_ethtool_{get|set}_link_ksettings (diff)
downloadlinux-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