]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: remove NHG unhashable flag and its code
authorStephen Worley <sworley@cumulusnetworks.com>
Thu, 30 Apr 2020 22:35:13 +0000 (18:35 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 28 Sep 2020 16:40:59 +0000 (12:40 -0400)
commit5b27c09d4e7e304845d89fe6de597d29a40d774e
tree4b9733fcb2b9ea1b6dd04cbcfb9beb9fa2b78991
parent569e87c0c831252f46fc9a8ddcbc5e268bff8327
zebra: remove NHG unhashable flag and its code

Remove the code for setting a NHG as unhashable. Originally
this was to prevent us from attempting to put duplicates from
the kernel in our hashtable.

Now I think its better to not use them in the hashtable at all
and only track them in the ID table. Routes will still be able
to use them if they specify the ID explicitly when sending Zebra
the route, but 'normal' routes we hash the nexthop group on
will not.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
zebra/zebra_nhg.c
zebra/zebra_vty.c