mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-24 19:35:25 +00:00
pimd: Intentionally rescan oil when RPF fails on upstream creation
When pim is creating an upstream for a S,G that it has received *but* it has not received a route to the S, the oil is not scanned to see if it should inherit anything from the *,G that may be present when it cannot find the correct iif to use. When the nexthop tracking actually resolves the route, the oil is never rescanned and the S,G stream will be missing a correct oil list leading to absolute mayhem in the network. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
35c4790aa7
commit
fc6115ced7
@ -912,6 +912,7 @@ static struct pim_upstream *pim_upstream_new(struct pim_instance *pim,
|
||||
false /*update_mroute*/);
|
||||
rpf_result = pim_rpf_update(pim, up, NULL, __func__);
|
||||
if (rpf_result == PIM_RPF_FAILURE) {
|
||||
up->channel_oil->oil_inherited_rescan = 1;
|
||||
if (PIM_DEBUG_PIM_TRACE)
|
||||
zlog_debug(
|
||||
"%s: Attempting to create upstream(%s), Unable to RPF for source",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user