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>
This commit is contained in:

committed by
David S. Miller

parent
95ec3eb417
commit
dc7f9f6e88
@@ -39,7 +39,7 @@ static struct tcf_hashinfo skbedit_hash_info = {
|
||||
.lock = &skbedit_lock,
|
||||
};
|
||||
|
||||
static int tcf_skbedit(struct sk_buff *skb, struct tc_action *a,
|
||||
static int tcf_skbedit(struct sk_buff *skb, const struct tc_action *a,
|
||||
struct tcf_result *res)
|
||||
{
|
||||
struct tcf_skbedit *d = a->priv;
|
||||
|
Reference in New Issue
Block a user