diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2017-10-16 17:05:57 +0200 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2017-10-18 09:40:35 +0200 |
commit | 0bfe649fbb1337400065fa47679b381b2ac845f0 (patch) | |
tree | d265ad908ee854eb7ceb1dfc34040e4dbe8e00d8 /net | |
parent | e5f5ce37a7918ed7406c52987c7cc8b670ed5e14 (diff) | |
download | linux-0bfe649fbb1337400065fa47679b381b2ac845f0.tar.gz linux-0bfe649fbb1337400065fa47679b381b2ac845f0.tar.bz2 linux-0bfe649fbb1337400065fa47679b381b2ac845f0.zip |
fq_impl: Properly enforce memory limit
The fq structure would fail to properly enforce the memory limit in the case
where the packet being enqueued was bigger than the packet being removed to
bring the memory usage down. So keep dropping packets until the memory usage is
back below the limit. Also, fix the statistics for memory limit violations.
Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions