]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: Fix for FHR mroute taking longer to age out
authorRajesh Varatharaj <rvaratharaj@nvidia.com>
Thu, 27 Jul 2023 06:57:04 +0000 (23:57 -0700)
committerJafar Al-Gharaibeh <jafar@atcorp.com>
Thu, 6 Feb 2025 16:19:46 +0000 (10:19 -0600)
commitafed39ea2be25bf30d50ac49b4edf424deadcb17
treed124544e4f1eb560e265444ee635e5f5d80997de
parent075f44a417dfd8e025945cfc26cfd4b11b5c361b
pimd: Fix for FHR mroute taking longer to age out

Issue:
When there is no traffic for a group, the LHR and RP take the default KAT+Join timer expiry of
a maximum of 480 seconds to clear the S,G . However, in the FHR, we update the state from JOINED
to NOT Joined, downstream state from PPto NOINFO.  This restarts the ET timer, causing S,G on FHR to
take more than 10 minutes to age out.

In other words,
Consider a case where (S,G) is in Join state. When the traffic stops and the KAT (210) expires,
 the Join expiry timer restarts. At this time, if we receive a prune, the expectation is to set
 PPT to 0 (RFC 4601 sec 4.5.2).
 When the PPT expires, we move to the noinfo state and restart the expiry timer one more time. We remove the
 (S,G) entry only after ~10 minutes when there is no active traffic.

Summary:
KAT Join ET 210 + PP ET 210 + NOINFO ET 210.

Solution:
Delete the ifchannel when in noinfo state, and KAT is not running.

Ticket: #13703

Signed-off-by: Rajesh Varatharaj <rvaratharaj@nvidia.com>
pimd/pim_ifchannel.c
pimd/pim_upstream.c