diff options
author | 2016-04-28 19:13:42 +0200 | |
---|---|---|
committer | 2016-05-05 16:39:44 +0200 | |
commit | 88b68bc5237c84c6ff6f78568653780869a94a95 (patch) | |
tree | 3501a26e75aefc8551c823ec70ae646a16aadccd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: conntrack: fix lookup race during hash resize (diff) | |
download | wireguard-linux-88b68bc5237c84c6ff6f78568653780869a94a95.tar.xz wireguard-linux-88b68bc5237c84c6ff6f78568653780869a94a95.zip |
netfilter: conntrack: don't attempt to iterate over empty table
Once we place all conntracks into same table iteration becomes more
costly because the table contains conntracks that we are not interested
in (belonging to other netns).
So don't bother scanning if the current namespace has no entries.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions