]> git.baikalelectronics.ru Git - kernel.git/commit
fq.h: Port memory limit mechanism from fq_codel
authorToke Høiland-Jørgensen <toke@toke.dk>
Fri, 23 Sep 2016 19:59:09 +0000 (21:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 30 Sep 2016 11:29:21 +0000 (13:29 +0200)
commit4e504507f26e981e963b63450b7c62394110f6af
tree8d048e1596a0bc2b438cd5e823ab2c5233c323dc
parentb73f43585807bdaa1edb3e9495dacca220c48f10
fq.h: Port memory limit mechanism from fq_codel

The reusable fairness queueing implementation (fq.h) lacks the memory
usage limit that the fq_codel qdisc has. This means that small
devices (e.g. WiFi routers) can run out of memory when flooded with a
large number of packets. This ports the memory limit feature from
fq_codel to fq.h.

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/fq.h
include/net/fq_impl.h