netfilter: xtables: deconstify struct xt_action_param for matches
[linux-2.6-block.git] / net / netfilter / xt_limit.c
index 7dcfe8602c839457efd82b93e2e351b276cb03ec..32b7a579a032cde09c831f47c5ee8eae83adbd41 100644 (file)
@@ -65,7 +65,7 @@ static DEFINE_SPINLOCK(limit_lock);
 #define CREDITS_PER_JIFFY POW2_BELOW32(MAX_CPJ)
 
 static bool
-limit_mt(const struct sk_buff *skb, const struct xt_action_param *par)
+limit_mt(const struct sk_buff *skb, struct xt_action_param *par)
 {
        const struct xt_rateinfo *r = par->matchinfo;
        struct xt_limit_priv *priv = r->master;