aboutsummaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorLiping Zhang <[email protected]>2017-06-04 23:25:05 +0800
committerPablo Neira Ayuso <[email protected]>2017-06-19 19:13:21 +0200
commitd53e3fc3906c7fe82ff436e889c8416649268007 (patch)
tree9535d3199167ae2a86cb011da4d7fcba83fd1e70 /lib/pm-notifier-error-inject.c
parent2becbbc547aa5ae7b92b35e71bee33706fb1b826 (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 <[email protected]> Acked-by: Florian Westphal <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions