aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_cgroup.c
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-07-05 23:25:42 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-06 02:52:16 -0700
commitdc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch)
treec346ae8a155e187f4f88ba70788dc10ef5ff4c43 /net/sched/cls_cgroup.c
parentpacket: Add 'cpu' fanout policy. (diff)
downloadlinux-dev-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.tar.xz
linux-dev-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.zip
net: sched: constify tcf_proto and tc_action
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_cgroup.c')
-rw-r--r--net/sched/cls_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_cgroup.c b/net/sched/cls_cgroup.c
index 32a335194ca5..f84fdc3a7f27 100644
--- a/net/sched/cls_cgroup.c
+++ b/net/sched/cls_cgroup.c
@@ -101,7 +101,7 @@ struct cls_cgroup_head {
struct tcf_ematch_tree ematches;
};
-static int cls_cgroup_classify(struct sk_buff *skb, struct tcf_proto *tp,
+static int cls_cgroup_classify(struct sk_buff *skb, const struct tcf_proto *tp,
struct tcf_result *res)
{
struct cls_cgroup_head *head = tp->root;