From 73db8249937950946e476de22d5f8dd8769df4cf Mon Sep 17 00:00:00 2001 From: Anuradha Karuppiah Date: Thu, 6 Feb 2020 09:30:46 -0800 Subject: [PATCH] pimd: skip syncing and running DF election on orig mroutes This is not causing functional problems but has become a source of confusion. DF status is only relevant to multicast tunnel decaps. Signed-off-by: Anuradha Karuppiah --- pimd/pim_upstream.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index 6ef0290adf..ec1888f1f7 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -892,7 +892,8 @@ static struct pim_upstream *pim_upstream_new(struct pim_instance *pim, */ if ((up->sg.src.s_addr != INADDR_ANY) && up->parent && - PIM_UPSTREAM_FLAG_TEST_MLAG_VXLAN(up->parent->flags)) { + PIM_UPSTREAM_FLAG_TEST_MLAG_VXLAN(up->parent->flags) && + !PIM_UPSTREAM_FLAG_TEST_SRC_VXLAN_ORIG(up->flags)) { PIM_UPSTREAM_FLAG_SET_MLAG_VXLAN(up->flags); if (PIM_DEBUG_VXLAN) zlog_debug("upstream %s inherited mlag vxlan flag from parent", -- 2.39.5