netfilter: xtables: mark initial tables constant
[deliverable/linux.git] / net / ipv4 / netfilter / arptable_filter.c
index 6ecfdae7c5895f4213004162ae008dea96308e52..97337601827a9752df2c1f92f37489009805aa84 100644 (file)
@@ -15,7 +15,7 @@ MODULE_DESCRIPTION("arptables filter table");
 #define FILTER_VALID_HOOKS ((1 << NF_ARP_IN) | (1 << NF_ARP_OUT) | \
                           (1 << NF_ARP_FORWARD))
 
-static struct
+static const struct
 {
        struct arpt_replace repl;
        struct arpt_standard entries[3];
@@ -45,7 +45,7 @@ static struct
        .term = ARPT_ERROR_INIT,
 };
 
-static struct xt_table packet_filter = {
+static const struct xt_table packet_filter = {
        .name           = "filter",
        .valid_hooks    = FILTER_VALID_HOOKS,
        .me             = THIS_MODULE,
This page took 0.027796 seconds and 5 git commands to generate.