mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 08:32:45 +00:00
pimd, pim6d: Fix pim upstream rpf change
When upstream RPF address is secondary, and
neighborship is built with primary address,
then pim_neighbor_find() fails, due to which when there
is upstream change it wont send prune.
Verify the nexthop is present in the neighbor primary
and secondary address list.
Signed-off-by: Sarita Patra <saritap@vmware.com>
(cherry picked from commit 689b9f10fc
)
This commit is contained in:
parent
8fcc9daf7c
commit
cb8d50ecd9
@ -270,7 +270,8 @@ void pim_zebra_upstream_rpf_changed(struct pim_instance *pim,
|
|||||||
struct pim_neighbor *nbr;
|
struct pim_neighbor *nbr;
|
||||||
|
|
||||||
nbr = pim_neighbor_find(old->source_nexthop.interface,
|
nbr = pim_neighbor_find(old->source_nexthop.interface,
|
||||||
old->rpf_addr);
|
old->rpf_addr, true);
|
||||||
|
|
||||||
if (nbr)
|
if (nbr)
|
||||||
pim_jp_agg_remove_group(nbr->upstream_jp_agg, up, nbr);
|
pim_jp_agg_remove_group(nbr->upstream_jp_agg, up, nbr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user