summaryrefslogtreecommitdiff
path: root/zebra/rib.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2020-09-30 17:55:44 -0400
committerIgor Ryzhov <iryzhov@nfware.com>2020-10-07 11:01:16 +0300
commitc534e81d2cf3052d0959f19a602f3eca53b38fb4 (patch)
tree3ed3c7f39c67457f49b86b8f48754b2e6882739d /zebra/rib.h
parentc5020ee287957a20458a79e4b39e74999144eed6 (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 'zebra/rib.h')
0 files changed, 0 insertions, 0 deletions