netfilter: ip{,6}tables_security: fix future section mismatch
authorAlexey Dobriyan <adobriyan@gmail.com>
Sun, 27 Jul 2008 00:48:38 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 27 Jul 2008 00:48:38 +0000 (17:48 -0700)
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>
net/ipv4/netfilter/iptable_security.c
net/ipv6/netfilter/ip6table_security.c

index 2b472ac..db6d312 100644 (file)
@@ -32,7 +32,7 @@ static struct
        struct ipt_replace repl;
        struct ipt_standard entries[3];
        struct ipt_error term;
-} initial_table __initdata = {
+} initial_table __net_initdata = {
        .repl = {
                .name = "security",
                .valid_hooks = SECURITY_VALID_HOOKS,
index a07abee..6e71310 100644 (file)
@@ -31,7 +31,7 @@ static struct
        struct ip6t_replace repl;
        struct ip6t_standard entries[3];
        struct ip6t_error term;
-} initial_table __initdata = {
+} initial_table __net_initdata = {
        .repl = {
                .name = "security",
                .valid_hooks = SECURITY_VALID_HOOKS,