netfilter: nf_hook_ops structs can be const
authorFlorian Westphal <fw@strlen.de>
Wed, 26 Jul 2017 09:40:52 +0000 (11:40 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 31 Jul 2017 17:10:44 +0000 (19:10 +0200)
commit591bb2789bc2a93f379b13d277f441f1b427102d
treef689ae2ddf68de5a1628d6923dd1d4fcf027ecce
parent5da773a3e81e6093c4346ee8cd356fc214d7c76c
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>
18 files changed:
drivers/net/ipvlan/ipvlan_main.c
net/bridge/br_netfilter_hooks.c
net/bridge/netfilter/ebtable_filter.c
net/bridge/netfilter/ebtable_nat.c
net/decnet/netfilter/dn_rtmsg.c
net/ipv4/netfilter/ipt_CLUSTERIP.c
net/ipv4/netfilter/ipt_SYNPROXY.c
net/ipv4/netfilter/iptable_nat.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_defrag_ipv4.c
net/ipv6/ila/ila_xlat.c
net/ipv6/netfilter/ip6t_SYNPROXY.c
net/ipv6/netfilter/ip6table_nat.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c
net/netfilter/ipvs/ip_vs_core.c
security/selinux/hooks.c
security/smack/smack_netfilter.c