]> 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)
commitb520914cd31b76626731dfe78e58d1decb54bf05
tree8d048e1596a0bc2b438cd5e823ab2c5233c323dc
parentb60c8ef09b3c754c1dc14f73b863836090c0e217
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