]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: When nexthop_lookup fails allow a retry.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sun, 30 Oct 2016 23:34:26 +0000 (19:34 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:12 +0000 (20:26 -0500)
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 <sharpd@cumulusnetworks.com>
pimd/pim_rpf.c

index 2b16529627b7d615d88fc8577e612f66e452cffd..1724185e97ad59926c4402b424f44e985d4e0b81 100644 (file)
@@ -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,