diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-13 14:28:22 +0400 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2009-06-13 14:28:22 +0400 |
commit | 9858a3ae1d4b390fbaa9c30b83cb66d861b76294 (patch) | |
tree | 897127b38a48de3c8c404431303614218ba2bc0f /include | |
parent | a0891aa6a635f658f29bb061a00d6d3486941519 (diff) | |
download | linux-9858a3ae1d4b390fbaa9c30b83cb66d861b76294.tar.xz |
netfilter: conntrack: move helper destruction to nf_ct_helper_destroy()
This patch moves the helper destruction to a function that lives
in nf_conntrack_helper.c. This new function is used in the patch
to add ctnetlink reliable event delivery.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_conntrack_helper.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_helper.h b/include/net/netfilter/nf_conntrack_helper.h index ee2a4b369a04..1b7068000927 100644 --- a/include/net/netfilter/nf_conntrack_helper.h +++ b/include/net/netfilter/nf_conntrack_helper.h @@ -50,6 +50,8 @@ extern struct nf_conn_help *nf_ct_helper_ext_add(struct nf_conn *ct, gfp_t gfp); extern int __nf_ct_try_assign_helper(struct nf_conn *ct, gfp_t flags); +extern void nf_ct_helper_destroy(struct nf_conn *ct); + static inline struct nf_conn_help *nfct_help(const struct nf_conn *ct) { return nf_ct_ext_find(ct, NF_CT_EXT_HELPER); |