summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2016-08-25 16:33:34 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2016-08-30 12:43:09 +0300
commitc023c0e4a0eb7f0dfebe29b41801bf7373bf4f1d (patch)
tree305690a520a7cc64387314baa74eca78a0b323ab /include/net
parentb87a2f9199ea82eaadca5bcc596b62cb8214cc0a (diff)
downloadlinux-c023c0e4a0eb7f0dfebe29b41801bf7373bf4f1d.tar.xz
netfilter: conntrack: resched gc again if eviction rate is high
If we evicted a large fraction of the scanned conntrack entries re-schedule the next gc cycle for immediate execution. This triggers during tests where load is high, then drops to zero and many connections will be in TW/CLOSE state with < 30 second timeouts. Without this change it will take several minutes until conntrack count comes back to normal. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
0 files changed, 0 insertions, 0 deletions