netfilter: Export nf_ct_{set,destroy}_timeout()
authorYi-Hung Wei <yihung.wei@gmail.com>
Tue, 26 Mar 2019 18:31:13 +0000 (11:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Mar 2019 23:53:29 +0000 (16:53 -0700)
commit717700d183d65bd2e6511566aa6d32395419d158
tree1772ca354bb581c08e9207ce770ebcb678d68562
parentc63d11ba5266245ba64794a8c4f8f9d3b4bcb473
netfilter: Export nf_ct_{set,destroy}_timeout()

This patch exports nf_ct_set_timeout() and nf_ct_destroy_timeout().
The two functions are derived from xt_ct_destroy_timeout() and
xt_ct_set_timeout() in xt_CT.c, and moved to nf_conntrack_timeout.c
without any functional change.
It would be useful for other users (i.e. OVS) that utilizes the
finer-grain conntrack timeout feature.

CC: Pablo Neira Ayuso <pablo@netfilter.org>
CC: Pravin Shelar <pshelar@ovn.org>
Signed-off-by: Yi-Hung Wei <yihung.wei@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/netfilter/nf_conntrack_timeout.h
net/netfilter/nf_conntrack_timeout.c
net/netfilter/xt_CT.c