Add support for cloning cgroup filter object.
In this commit, we implement ematch_tree_clone(), which is basis of
cgroup_clone() interface. The whole ematch tree is deep-copied except
the e_ops filed.
Also, a new unit test is added for testing the interface, which named as
check-ematch-tree-clone.c located in tests directory.
https://github.com/thom311/libnl/pull/176
diff --git a/libnl-route-3.sym b/libnl-route-3.sym
index 159a3fd..c76cbf8 100644
--- a/libnl-route-3.sym
+++ b/libnl-route-3.sym
@@ -1065,6 +1065,7 @@
global:
rtnl_class_get_by_parent;
rtnl_cls_cache_set_tc_params;
+ rtnl_ematch_tree_clone;
rtnl_netem_set_delay_distribution_data;
rtnl_link_is_geneve;
rtnl_link_geneve_alloc;