]> git.puffer.fish Git - mirror/frr.git/commit
pim-kat: changed kat handling to match rfc-4601 more closely.
authoranuradhak <anuradhak@cumulusnetworks.com>
Tue, 15 Nov 2016 23:39:11 +0000 (15:39 -0800)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:16 +0000 (20:26 -0500)
commit1bf1644338146f843194e44c0abc7c4cdff29056
tree68123e14c49c52c19a81349d26eaf8248e1d96fd
parent2ecd52cd357072f0d0a9975ead2a6cad99108b6a
pim-kat: changed kat handling to match rfc-4601 more closely.

1. This is needed to layout the MSDP macros for determining what SAs are
originated by a MSDP speaker.
2. We no longer let the kat timer expire on an active flow. Activity
counters/lastuse is polled via a wheel for every SG entry. If new
activity is detected the keepalive timer is started and SPT bit set.
A SRC_STREAM reference is also created for the entry if one doesn't
already exist.
3. If KAT actually expires it means the flow is no longer active. At
this point we stop advertising the SA to MSDP peers. We also pull
the SRC_STREAM reference (deleting the entry if there are no other
references).

PS: Checking counters on KAT expiry will come in the next change.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Acked-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_cmd.c
pimd/pim_mroute.c
pimd/pim_msdp.c
pimd/pim_msdp.h
pimd/pim_register.c
pimd/pim_upstream.c
pimd/pim_upstream.h