summaryrefslogtreecommitdiff
path: root/zebra/zebra_vxlan_private.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-17 08:18:23 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-17 08:28:33 -0400
commitf2a503f0cece16dd66e7c258a3bccd967533d074 (patch)
tree03fd683639a7be12a41c6793f09f1377381574fe /zebra/zebra_vxlan_private.h
parent41db76c235a5d2dda39fad66b57a28800fa53783 (diff)
zebra: The neigh host_list is expensive too
The neighbor host_list is expensive as well. Modify the code to take advantage of a rb_tree as well. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'zebra/zebra_vxlan_private.h')
-rw-r--r--zebra/zebra_vxlan_private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan_private.h b/zebra/zebra_vxlan_private.h
index c5f6b783aa..b2bfcecfc5 100644
--- a/zebra/zebra_vxlan_private.h
+++ b/zebra/zebra_vxlan_private.h
@@ -336,7 +336,7 @@ struct zebra_neigh_t_ {
struct in_addr r_vtep_ip;
/* list of hosts pointing to this remote NH entry */
- struct list *host_list;
+ struct host_rb_entry_rb host_rb;
};
/*