diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2020-09-30 17:55:44 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2020-10-01 15:17:06 -0400 |
| commit | 9d221fac7ef25e110b1d4bce82e2047b0e1e0c9c (patch) | |
| tree | d85cab242b21a2c11b6d2cdfbea465d1056c9ef3 /lib/northbound_cli.c | |
| parent | 5c18e66208b9c99a8c8bc4af93528404b341862b (diff) | |
zebra: When processing route_entries ignore unusable routes
When zebra is processing routes to determine what to send
to the rib, suppose we have two routes (a) a route processed
earlier that none of it's nexthops were active and (b)
a route that has good nexthops but has a worse admin distance.
rib_process, would not relook at (a)'s nexthops because
the ROUTE_ENTRY_CHANGED flag was not true and it would
win when compared to (b) because it's admin distance
was better, leaving us with a state where we would
attempt and fail to install route (a) because it
was not valid.
Modify the code to consider the number of nexthops
we have as a determiner if we can use the route.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/northbound_cli.c')
0 files changed, 0 insertions, 0 deletions
