netfilter: ip{,6}tables_security: fix future section mismatch
Currently not visible, because NET_NS is mutually exclusive with SYSFS which is required by SECURITY. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
6c5a9d2e15
commit
f858b4869a
@ -32,7 +32,7 @@ static struct
|
|||||||
struct ipt_replace repl;
|
struct ipt_replace repl;
|
||||||
struct ipt_standard entries[3];
|
struct ipt_standard entries[3];
|
||||||
struct ipt_error term;
|
struct ipt_error term;
|
||||||
} initial_table __initdata = {
|
} initial_table __net_initdata = {
|
||||||
.repl = {
|
.repl = {
|
||||||
.name = "security",
|
.name = "security",
|
||||||
.valid_hooks = SECURITY_VALID_HOOKS,
|
.valid_hooks = SECURITY_VALID_HOOKS,
|
||||||
|
@ -31,7 +31,7 @@ static struct
|
|||||||
struct ip6t_replace repl;
|
struct ip6t_replace repl;
|
||||||
struct ip6t_standard entries[3];
|
struct ip6t_standard entries[3];
|
||||||
struct ip6t_error term;
|
struct ip6t_error term;
|
||||||
} initial_table __initdata = {
|
} initial_table __net_initdata = {
|
||||||
.repl = {
|
.repl = {
|
||||||
.name = "security",
|
.name = "security",
|
||||||
.valid_hooks = SECURITY_VALID_HOOKS,
|
.valid_hooks = SECURITY_VALID_HOOKS,
|
||||||
|
Loading…
Reference in New Issue
Block a user