mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-14 01:09:15 +00:00
pimd: Assert fixes
Problem: PIM assert is not triggered even after receiving WRONGVIF notification because of Could_assert flag not set. CouldAssert(S,G,I) = SPTbit(S,G)==TRUE AND (RPF_interface(S) != I) AND (I in ( ( joins(*,G) (-) prunes(S,G,rpt) ) (+) ( pim_include(*,G) (-) pim_exclude(S,G) ) (-) lost_assert(*,G) (+) joins(S,G) (+) pim_include(S,G) ) ) Once SPTbit is set, Could_assert has to be reevaluated Signed-off-by: plsaranya <Saranya_Panjarathina@dell.com>
This commit is contained in:
parent
52093e0f0e
commit
db89f2a3eb
@ -2062,6 +2062,7 @@ static bool pim_upstream_sg_running_proc(struct pim_upstream *up)
|
||||
if ((up->sptbit != PIM_UPSTREAM_SPTBIT_TRUE) &&
|
||||
(up->rpf.source_nexthop.interface)) {
|
||||
pim_upstream_set_sptbit(up, up->rpf.source_nexthop.interface);
|
||||
pim_upstream_update_could_assert(up);
|
||||
}
|
||||
|
||||
return rv;
|
||||
|
Loading…
Reference in New Issue
Block a user