mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 14:17:20 +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>
This commit is contained in:
parent
e14ba24874
commit
689b9f10fc
@ -257,7 +257,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