diff options
| author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-08-06 13:16:07 -0400 |
|---|---|---|
| committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-25 11:13:42 -0400 |
| commit | e4ac313b1280e15c13d12ff3dd25c7c09382920a (patch) | |
| tree | 6c5510889ef95b5ecd4c0dc1a8a8b28fea17e284 /lib/nexthop.c | |
| parent | 6384cbcb0eaed417b95e9bce9f666d4f8ef4d7ca (diff) | |
zebra: Check active count first in nhg_hash_equal
Before checking the equivalence of the whole group itself,
check to see if they contain the same number of non-recursive
active nexthops. This should shorten lookup time for the case of
non-resolved nexthop group creation.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/nexthop.c')
0 files changed, 0 insertions, 0 deletions
