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
@ -77,7 +77,7 @@ static inline int fw_hash(u32 handle)
|
||||
return handle & (HTSIZE - 1);
|
||||
}
|
||||
|
||||
static int fw_classify(struct sk_buff *skb, struct tcf_proto *tp,
|
||||
static int fw_classify(struct sk_buff *skb, const struct tcf_proto *tp,
|
||||
struct tcf_result *res)
|
||||
{
|
||||
struct fw_head *head = (struct fw_head *)tp->root;
|
||||
|
Reference in New Issue
Block a user