]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/ipv6/netfilter/ip6t_SYNPROXY.c
netfilter: nf_hook_ops structs can be const
[mirror_ubuntu-bionic-kernel.git] / net / ipv6 / netfilter / ip6t_SYNPROXY.c
index ce203dd729e0686af769c1b9e4997286d00e01d4..a5cd43d75393db2152fa5a4edb0b505d20fc2f45 100644 (file)
@@ -438,7 +438,7 @@ static unsigned int ipv6_synproxy_hook(void *priv,
        return NF_ACCEPT;
 }
 
-static struct nf_hook_ops ipv6_synproxy_ops[] __read_mostly = {
+static const struct nf_hook_ops ipv6_synproxy_ops[] = {
        {
                .hook           = ipv6_synproxy_hook,
                .pf             = NFPROTO_IPV6,