]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sched/sch_api.c
sched: rename tcf_destroy to tcf_destroy_proto
[mirror_ubuntu-artful-kernel.git] / net / sched / sch_api.c
index ef53ede11590924f51bca17f79fb8ad9697366be..f30b517f22820be046760d7f009a7cadc8a41c8e 100644 (file)
@@ -1900,7 +1900,7 @@ reset:
 }
 EXPORT_SYMBOL(tc_classify);
 
-bool tcf_destroy(struct tcf_proto *tp, bool force)
+bool tcf_proto_destroy(struct tcf_proto *tp, bool force)
 {
        if (tp->ops->destroy(tp, force)) {
                module_put(tp->ops->owner);
@@ -1917,7 +1917,7 @@ void tcf_destroy_chain(struct tcf_proto __rcu **fl)
 
        while ((tp = rtnl_dereference(*fl)) != NULL) {
                RCU_INIT_POINTER(*fl, tp->next);
-               tcf_destroy(tp, true);
+               tcf_proto_destroy(tp, true);
        }
 }
 EXPORT_SYMBOL(tcf_destroy_chain);