diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2011-07-06 01:25:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-06 11:52:16 +0200 |
commit | dc7f9f6e8838556f226c2ebd1da7bb305cb25654 (patch) | |
tree | c346ae8a155e187f4f88ba70788dc10ef5ff4c43 /net/sched/act_simple.c | |
parent | packet: Add 'cpu' fanout policy. (diff) | |
download | linux-dc7f9f6e8838556f226c2ebd1da7bb305cb25654.tar.xz linux-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/act_simple.c')
-rw-r--r-- | net/sched/act_simple.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c index a34a22de60b3..73e0a3ab4d55 100644 --- a/net/sched/act_simple.c +++ b/net/sched/act_simple.c @@ -36,7 +36,8 @@ static struct tcf_hashinfo simp_hash_info = { }; #define SIMP_MAX_DATA 32 -static int tcf_simp(struct sk_buff *skb, struct tc_action *a, struct tcf_result *res) +static int tcf_simp(struct sk_buff *skb, const struct tc_action *a, + struct tcf_result *res) { struct tcf_defact *d = a->priv; |