summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:04:15 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:04:15 -0700
commitca657c652da2f2545092cb03447d5f952e9d91be (patch)
tree07c401ac508b9f3835f915639ab7a2e2a7329cae /lib/command.c
parentb4a039bf228c0009a6e5a36597e139b9c4d4d95c (diff)
Zebra: Static NHT fixes
When NHT calls rib_process() to be invoked for a prefix, the RIB has already been marked as having NH changes. The first call to nexthop_active_update clears this flag and attempts to re-determine if there are any NH changes for a prefix. However, when the NH is recurisve, this fails. Furthermore, since NHT has already determined that this RIB has NH changes, there's no need to ascertain that again. The original patch used static route as the proxy to skip this call which was incorrect since rib_process can be invoked for static routes for reasons other than NHT. So, this patch removes the check for static route and directly checks if the NH changed flag has been set. Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com> Reviewed-by: Vivek Venkataraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions