diff options
author | Liping Zhang <zlpnobody@gmail.com> | 2017-06-04 23:25:05 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-06-19 19:13:21 +0200 |
commit | d53e3fc3906c7fe82ff436e889c8416649268007 (patch) | |
tree | 9535d3199167ae2a86cb011da4d7fcba83fd1e70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 2becbbc547aa5ae7b92b35e71bee33706fb1b826 (diff) |
netfilter: use nf_conntrack_helpers_register when possible
amanda_helper, nf_conntrack_helper_ras and nf_conntrack_helper_q931 are
all arrays, so we can use nf_conntrack_helpers_register to register
the ct helper, this will help us to eliminate some "goto errX"
statements.
Also introduce h323_helper_init/exit helper function to register the ct
helpers, this is prepared for the followup patch, which will add net
namespace support for ct helper.
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Acked-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