]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: (S,G) Route doesn't inherit olist from parent while creation 6004/head
authorsaravanank <saravanank@vmware.com>
Mon, 16 Mar 2020 01:37:07 +0000 (18:37 -0700)
committersaravanank <saravanank@vmware.com>
Mon, 16 Mar 2020 01:41:06 +0000 (18:41 -0700)
Issue: when (*,G) has some receiver and directly connected source sends traffic,
new (S,G) entry created is not inheriting the oil from (*,g)

RCA: pim_mroute_msg_nocache haven't assume FHR have (*,g) member ports

Fix : Added inherit oil from parent from (*,g) receivers to get added

Signed-off-by: Saravanan K <saravanank@vmware.com>
pimd/pim_mroute.c

index f366fdbe79fe9a8a7a501773d16cf995171ab751..8cdd40c0dfc519074a882e6d1f54dba7e8aa6573 100644 (file)
@@ -232,6 +232,8 @@ static int pim_mroute_msg_nocache(int fd, struct interface *ifp,
                pim_upstream_mroute_iif_update(up->channel_oil, __func__);
        }
        pim_register_join(up);
+       /* if we have receiver, inherit from parent */
+       pim_upstream_inherited_olist_decide(pim_ifp->pim, up);
 
        return 0;
 }