summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorHarsha Sharma <harshasharmaiitr@gmail.com>2018-08-07 17:14:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-08-07 17:14:10 +0200
commit4e665afbd7bee29b44b5d22821b56207f8459e39 (patch)
tree19a73415e857400c9a0ae69bc3d5092e76d46aae /include/net
parent35a8a3bd1c2e29bb6baec501c6f56abaaa10a48a (diff)
downloadtalos-op-linux-4e665afbd7bee29b44b5d22821b56207f8459e39.tar.gz
talos-op-linux-4e665afbd7bee29b44b5d22821b56207f8459e39.zip
netfilter: cttimeout: move ctnl_untimeout to nf_conntrack
As, ctnl_untimeout is required by nft_ct, so move ctnl_timeout from nfnetlink_cttimeout to nf_conntrack_timeout and rename as nf_ct_timeout. Signed-off-by: Harsha Sharma <harshasharmaiitr@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/netfilter/nf_conntrack_timeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack_timeout.h b/include/net/netfilter/nf_conntrack_timeout.h
index 80ceb3d0291d..7a21bc0f00eb 100644
--- a/include/net/netfilter/nf_conntrack_timeout.h
+++ b/include/net/netfilter/nf_conntrack_timeout.h
@@ -83,6 +83,7 @@ static inline unsigned int *nf_ct_timeout_lookup(const struct nf_conn *ct)
#ifdef CONFIG_NF_CONNTRACK_TIMEOUT
int nf_conntrack_timeout_init(void);
void nf_conntrack_timeout_fini(void);
+void nf_ct_untimeout(struct net *net, struct ctnl_timeout *timeout);
#else
static inline int nf_conntrack_timeout_init(void)
{
OpenPOWER on IntegriCloud