]> git.puffer.fish Git - matthieu/frr.git/commit
pim, pim6d: pimreg interface is not getting added in a certain scenario
authorSai Gomathi N <nsaigomathi@vmware.com>
Wed, 21 Jun 2023 09:53:09 +0000 (02:53 -0700)
committerSai Gomathi N <nsaigomathi@vmware.com>
Wed, 21 Jun 2023 10:46:58 +0000 (03:46 -0700)
commitfce0f28bf3672288d85279a3d318076d87a81592
tree17c8ad21089006ac9109a3e1b9ef681bd089e5e9
parent2be9ce6cd8cd92b026b871834a1d375c1f28ed0a
pim, pim6d: pimreg interface is not getting added in a certain scenario

Problem:
When ipv6 pim configuration is removed from the IIF on FHR node,
if we wait for RST timer to expire and then add the ipv6 pim configuration on the IIF again,
it is seen that pimreg is not getting added due to which null register wont be sent,
the register flag state also remains NO_INFO forever instead of RegPrune.
The reason for this is, when RST timer expires and IIF is unknown for the (S,G) upstream,
the FHR state is not reset due to which when the RP becomes reachable,
upstream state changes from NotJoined to Join but the register suppress timer could not be started
since we see there is no change in FHR state.

Fix:
When the Register Timer expires and the reg state is set to PIM_REG_NOINFO,reset the FHR flag,
so that when the RP becomes reachable can be because of config change or RP not reachable,
it is able to resume its duty.

Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
pimd/pim_register.c
pimd/pim_upstream.c