net: sched: constify tcf_proto and tc_action
[pandora-kernel.git] / net / sched / act_api.c
index 2f64262..f2fb67e 100644 (file)
@@ -365,10 +365,10 @@ static struct tc_action_ops *tc_lookup_action_id(u32 type)
 }
 #endif
 
-int tcf_action_exec(struct sk_buff *skb, struct tc_action *act,
+int tcf_action_exec(struct sk_buff *skb, const struct tc_action *act,
                    struct tcf_result *res)
 {
-       struct tc_action *a;
+       const struct tc_action *a;
        int ret = -1;
 
        if (skb->tc_verd & TC_NCLS) {