diff options
author | Florian Westphal <fw@strlen.de> | 2025-04-22 15:17:29 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2025-05-05 13:16:26 +0200 |
commit | 5e4d107abd796fa433084ae656076952fb7f7d6d (patch) | |
tree | 04a853924119fa255a834d791ecf6fa0d1199ccc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bfe7cfb65c753952735c3eed703eba9a8b96a18d (diff) |
netfilter: nf_conntrack: speed up reads from nf_conntrack proc file
Dumping all conntrack entries via proc interface can take hours due to
linear search to skip entries dumped so far in each cycle.
Apply same strategy used to speed up ipvs proc reading done in
commit 178883fd039d ("ipvs: speed up reads from ip_vs_conn proc file")
to nf_conntrack.
Note that the ctnetlink interface doesn't suffer from this problem, but
many scripts depend on the nf_conntrack proc interface.
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-sqlite.py')
0 files changed, 0 insertions, 0 deletions