mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
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]>
This commit is contained in:
parent
5da773a3e8
commit
591bb2789b
18 changed files with 18 additions and 18 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue