]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/xt_CLASSIFY.c
[NETFILTER]: nf_conntrack: Introduces nf_ct_get_tuplepr and uses it
[linux-2.6-omap-h63xx.git] / net / netfilter / xt_CLASSIFY.c
index 4007bbefc8abf8d7e2ff8bdaccbb10fcbad2b4c9..5194285668299d077070d67c0db05091f1e4a0f9 100644 (file)
@@ -39,7 +39,7 @@ target(struct sk_buff **pskb,
        return XT_CONTINUE;
 }
 
-static struct xt_target xt_classify_target[] = {
+static struct xt_target xt_classify_target[] __read_mostly = {
        {
                .family         = AF_INET,
                .name           = "CLASSIFY",
@@ -48,7 +48,7 @@ static struct xt_target xt_classify_target[] = {
                .table          = "mangle",
                .hooks          = (1 << NF_IP_LOCAL_OUT) |
                                  (1 << NF_IP_FORWARD) |
-                                 (1 << NF_IP_POST_ROUTING),
+                                 (1 << NF_IP_POST_ROUTING),
                .me             = THIS_MODULE,
        },
        {
@@ -59,7 +59,7 @@ static struct xt_target xt_classify_target[] = {
                .table          = "mangle",
                .hooks          = (1 << NF_IP6_LOCAL_OUT) |
                                  (1 << NF_IP6_FORWARD) |
-                                 (1 << NF_IP6_POST_ROUTING),
+                                 (1 << NF_IP6_POST_ROUTING),
                .me             = THIS_MODULE,
        },
 };