diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-07-05 19:25:42 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-06 05:52:16 -0400 |
commit | dc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch) | |
tree | c346ae8a155e187f4f88ba70788dc10ef5ff4c43 /net/sched/act_police.c | |
parent | 95ec3eb417115fbb2c73b59e2825f6dd5d2f6cf6 (diff) |
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/act_police.c')
-rw-r--r-- | net/sched/act_police.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_police.c b/net/sched/act_police.c index b3b9b32f4e00..6fb3f5af0f85 100644 --- a/net/sched/act_police.c +++ b/net/sched/act_police.c | |||
@@ -282,7 +282,7 @@ static int tcf_act_police_cleanup(struct tc_action *a, int bind) | |||
282 | return ret; | 282 | return ret; |
283 | } | 283 | } |
284 | 284 | ||
285 | static int tcf_act_police(struct sk_buff *skb, struct tc_action *a, | 285 | static int tcf_act_police(struct sk_buff *skb, const struct tc_action *a, |
286 | struct tcf_result *res) | 286 | struct tcf_result *res) |
287 | { | 287 | { |
288 | struct tcf_police *police = a->priv; | 288 | struct tcf_police *police = a->priv; |