From: Donald Sharp Date: Sun, 30 Oct 2016 23:34:26 +0000 (-0400) Subject: pimd: When nexthop_lookup fails allow a retry. X-Git-Tag: frr-3.0-branchpoint~64^2~10^2~154 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=7f748d958601a2270b321603a257e87aee5f34df;p=mirror%2Ffrr.git pimd: When nexthop_lookup fails allow a retry. We are seeing situations where nexthop lookups are failing unexpectedly. Don't consider the lookup to have succeeded in this case to allow the next lookup to work? Signed-off-by: Donald Sharp --- diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 2b16529627..1724185e97 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -172,11 +172,7 @@ int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, int nei return 0; } else - { - nexthop->last_lookup = addr; - nexthop->last_lookup_time = pim_time_monotonic_usec(); - return -1; - } + return -1; } static int nexthop_mismatch(const struct pim_nexthop *nh1,