diff options
author | Florian Westphal <fw@strlen.de> | 2017-07-26 11:40:52 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-07-31 19:10:44 +0200 |
commit | 591bb2789bc2a93f379b13d277f441f1b427102d (patch) | |
tree | f689ae2ddf68de5a1628d6923dd1d4fcf027ecce /net/ipv6/ila/ila_xlat.c | |
parent | netfilter: nfnetlink_queue: don't queue dying conntracks to userspace (diff) | |
download | linux-591bb2789bc2a93f379b13d277f441f1b427102d.tar.xz linux-591bb2789bc2a93f379b13d277f441f1b427102d.zip |
netfilter: nf_hook_ops structs can be const
We no longer place these on a list so they can be const.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6/ila/ila_xlat.c')
-rw-r--r-- | net/ipv6/ila/ila_xlat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ila/ila_xlat.c b/net/ipv6/ila/ila_xlat.c index 77f7f8c7d93d..5bd419c1abc8 100644 --- a/net/ipv6/ila/ila_xlat.c +++ b/net/ipv6/ila/ila_xlat.c @@ -208,7 +208,7 @@ ila_nf_input(void *priv, return NF_ACCEPT; } -static struct nf_hook_ops ila_nf_hook_ops[] __read_mostly = { +static const struct nf_hook_ops ila_nf_hook_ops[] = { { .hook = ila_nf_input, .pf = NFPROTO_IPV6, |