]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Remove mroute when RPF is gone 959/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 10 Aug 2017 20:13:45 +0000 (16:13 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 11 Aug 2017 11:36:47 +0000 (07:36 -0400)
commita7f95c7671786d50555152c87c53c8accbf5ceea
treea5d70da94ad97cee6dca8e6e5f55c49b8f05c5a6
parent8022df6a6dae1c7e8d127e1ec064bd10e1ccaf2d
pimd: Remove mroute when RPF is gone

This does three things:

1) When we get a RPF_FAILURE, remove the mroute associated
with it.
   -> This way when the RPF comes back we can just add the
      mroute in as part of the normal scanning process.
2) When we do a ecmp_nexthop_search return 1 when we found
something we can use.
3) Ignore output from pim_update_rp_nh
   -> When we do a ecmp_nexthop_search ignore the return
      code and do not attempt to gather it up to return
      to the calling function.  It is just ignored
      and we were not taking into account the what of
      multiple RP's we were looking at.

Ticket: CM-17218
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_nht.c