Commit fbe9c5b0 authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

net: sched: rename tcf_destroy_chain helper

Make the name consistent with the rest of the helpers around.
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Acked-by: default avatarJamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6529eaba
...@@ -187,7 +187,7 @@ static void tcf_proto_destroy(struct tcf_proto *tp) ...@@ -187,7 +187,7 @@ static void tcf_proto_destroy(struct tcf_proto *tp)
kfree_rcu(tp, rcu); kfree_rcu(tp, rcu);
} }
static void tcf_destroy_chain(struct tcf_proto __rcu **fl) static void tcf_chain_destroy(struct tcf_proto __rcu **fl)
{ {
struct tcf_proto *tp; struct tcf_proto *tp;
...@@ -214,7 +214,7 @@ void tcf_block_put(struct tcf_block *block) ...@@ -214,7 +214,7 @@ void tcf_block_put(struct tcf_block *block)
{ {
if (!block) if (!block)
return; return;
tcf_destroy_chain(block->p_filter_chain); tcf_chain_destroy(block->p_filter_chain);
kfree(block); kfree(block);
} }
EXPORT_SYMBOL(tcf_block_put); EXPORT_SYMBOL(tcf_block_put);
...@@ -372,7 +372,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, ...@@ -372,7 +372,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n,
if (n->nlmsg_type == RTM_DELTFILTER && prio == 0) { if (n->nlmsg_type == RTM_DELTFILTER && prio == 0) {
tfilter_notify_chain(net, skb, n, chain, RTM_DELTFILTER); tfilter_notify_chain(net, skb, n, chain, RTM_DELTFILTER);
tcf_destroy_chain(chain); tcf_chain_destroy(chain);
err = 0; err = 0;
goto errout; goto errout;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment