]> 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)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 7 Feb 2025 03:41:26 +0000 (03:41 +0000)
commit221fa07797df066199669c8fd18b2618b90000f3
tree0b54278274ed3bf15a72ccf6c0107bd0e52494fa
parentfc4e1364721c38daaf4c836a1365985d1cdf4010
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>
(cherry picked from commit afed39ea2be25bf30d50ac49b4edf424deadcb17)
pimd/pim_ifchannel.c
pimd/pim_upstream.c