summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vxlan.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2020-03-18 12:41:03 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-03-20 23:17:40 +0100
commitf7cd1091b7d79704b2ab7a0d85703e456aa5aa08 (patch)
tree8c593b62831401dfc753851567cfa96266f17164 /pimd/pim_vxlan.c
parentlib: Ensure pointer exists before using in mlag (diff)
downloadfrr-f7cd1091b7d79704b2ab7a0d85703e456aa5aa08.tar.xz
frr-f7cd1091b7d79704b2ab7a0d85703e456aa5aa08.zip
pimd: Note when rpf_update fails
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
-rw-r--r--pimd/pim_vxlan.c13
1 files changed, 11 insertions, 2 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c
index 4c94b389a..380c97a97 100644
--- a/pimd/pim_vxlan.c
+++ b/pimd/pim_vxlan.c
@@ -253,8 +253,17 @@ static void pim_vxlan_orig_mr_up_del(struct pim_vxlan_sg *vxlan_sg)
/* if there are other references register the source
* for nht
*/
- if (up)
- pim_rpf_update(vxlan_sg->pim, up, NULL, __func__);
+ if (up) {
+ enum pim_rpf_result r;
+
+ r = pim_rpf_update(vxlan_sg->pim, up, NULL, __func__);
+ if (r == PIM_RPF_FAILURE) {
+ if (PIM_DEBUG_VXLAN)
+ zlog_debug(
+ "vxlan SG %s rpf_update failure",
+ vxlan_sg->sg_str);
+ }
+ }
}
}