]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/ipv6/ila/ila_xlat.c
netfilter: nf_hook_ops structs can be const
[mirror_ubuntu-bionic-kernel.git] / net / ipv6 / ila / ila_xlat.c
index 77f7f8c7d93d67483f241616123380f9d8e6ba84..5bd419c1abc8b7ba3c564eb33ff6611dabcb47fb 100644 (file)
@@ -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,