]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/netfilter/xt_realm.c
V4L/DVB (6834): cx88-video: Enable selection of the WM8775 for cx88 cards
[linux-2.6-omap-h63xx.git] / net / netfilter / xt_realm.c
index ad82c132694c27c7932dedf9add29cf046d59566..cc3e76d77a9931f7f697188967465b78d998748b 100644 (file)
@@ -32,12 +32,12 @@ match(const struct sk_buff *skb,
       bool *hotdrop)
 {
        const struct xt_realm_info *info = matchinfo;
-       struct dst_entry *dst = skb->dst;
+       const struct dst_entry *dst = skb->dst;
 
        return (info->id == (dst->tclassid & info->mask)) ^ info->invert;
 }
 
-static struct xt_match realm_match = {
+static struct xt_match realm_match __read_mostly = {
        .name           = "realm",
        .match          = match,
        .matchsize      = sizeof(struct xt_realm_info),