From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: [patch net-next v4 03/10] net: sched: rename tcf_destroy_chain helper Date: Wed, 17 May 2017 11:07:56 +0200 Message-ID: <20170517090803.4461-4-jiri@resnulli.us> References: <20170517090803.4461-1-jiri@resnulli.us> Cc: davem@davemloft.net, jhs@mojatatu.com, xiyou.wangcong@gmail.com, dsa@cumulusnetworks.com, edumazet@google.com, stephen@networkplumber.org, daniel@iogearbox.net, alexander.h.duyck@intel.com, simon.horman@netronome.com, mlxsw@mellanox.com To: netdev@vger.kernel.org Return-path: Received: from mail-wm0-f65.google.com ([74.125.82.65]:33377 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754228AbdEQJIL (ORCPT ); Wed, 17 May 2017 05:08:11 -0400 Received: by mail-wm0-f65.google.com with SMTP id y10so1948587wmh.0 for ; Wed, 17 May 2017 02:08:10 -0700 (PDT) In-Reply-To: <20170517090803.4461-1-jiri@resnulli.us> Sender: netdev-owner@vger.kernel.org List-ID: From: Jiri Pirko Make the name consistent with the rest of the helpers around. Signed-off-by: Jiri Pirko --- net/sched/cls_api.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index d30116f..c02b03e 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -187,7 +187,7 @@ static void tcf_proto_destroy(struct tcf_proto *tp) 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; @@ -214,7 +214,7 @@ void tcf_block_put(struct tcf_block *block) { if (!block) return; - tcf_destroy_chain(block->p_filter_chain); + tcf_chain_destroy(block->p_filter_chain); kfree(block); } EXPORT_SYMBOL(tcf_block_put); @@ -372,7 +372,7 @@ static int tc_ctl_tfilter(struct sk_buff *skb, struct nlmsghdr *n, if (n->nlmsg_type == RTM_DELTFILTER && prio == 0) { tfilter_notify_chain(net, skb, n, chain, RTM_DELTFILTER); - tcf_destroy_chain(chain); + tcf_chain_destroy(chain); err = 0; goto errout; } -- 2.9.3