aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_CT.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2017-08-12 00:57:08 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-08-24 18:52:33 +0200
commitb3480fe059ac9121b5714205b4ddae14b59ef4be (patch)
treefb417ab4fcac08d57e94833257a35683287070f6 /net/netfilter/xt_CT.c
parentnetfilter: conntrack: print_conntrack only needed if CONFIG_NF_CONNTRACK_PROCFS (diff)
downloadlinux-dev-b3480fe059ac9121b5714205b4ddae14b59ef4be.tar.xz
linux-dev-b3480fe059ac9121b5714205b4ddae14b59ef4be.zip
netfilter: conntrack: make protocol tracker pointers const
Doesn't change generated code, but will make it easier to eventually make the actual trackers themselvers const. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_CT.c')
-rw-r--r--net/netfilter/xt_CT.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_CT.c b/net/netfilter/xt_CT.c
index 623ef37de886..5a152e2acfd5 100644
--- a/net/netfilter/xt_CT.c
+++ b/net/netfilter/xt_CT.c
@@ -121,9 +121,9 @@ xt_ct_set_timeout(struct nf_conn *ct, const struct xt_tgchk_param *par,
{
#ifdef CONFIG_NF_CONNTRACK_TIMEOUT
typeof(nf_ct_timeout_find_get_hook) timeout_find_get;
+ const struct nf_conntrack_l4proto *l4proto;
struct ctnl_timeout *timeout;
struct nf_conn_timeout *timeout_ext;
- struct nf_conntrack_l4proto *l4proto;
int ret = 0;
u8 proto;