Skip to content
Commit 6ad3122a authored by Steffen Klassert's avatar Steffen Klassert
Browse files

flowcache: Avoid OOM condition under preasure



We can hit an OOM condition if we are under presure because
we can not free the entries in gc_list fast enough. So add
a counter for the not yet freed entries in the gc_list and
refuse new allocations if the value is too high.

Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent aac8d3c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment