diff options
| author | Florian Westphal <[email protected]> | 2017-07-26 09:40:52 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2017-07-31 17:10:44 +0000 |
| commit | 591bb2789bc2a93f379b13d277f441f1b427102d (patch) | |
| tree | f689ae2ddf68de5a1628d6923dd1d4fcf027ecce /security/selinux/hooks.c | |
| parent | netfilter: nfnetlink_queue: don't queue dying conntracks to userspace (diff) | |
| download | kernel-591bb2789bc2a93f379b13d277f441f1b427102d.tar.gz kernel-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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
| -rw-r--r-- | security/selinux/hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c index 33fd061305c4..2f2e1338cd3d 100644 --- a/security/selinux/hooks.c +++ b/security/selinux/hooks.c @@ -6530,7 +6530,7 @@ security_initcall(selinux_init); #if defined(CONFIG_NETFILTER) -static struct nf_hook_ops selinux_nf_ops[] = { +static const struct nf_hook_ops selinux_nf_ops[] = { { .hook = selinux_ipv4_postroute, .pf = NFPROTO_IPV4, |
