]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Introduce mroute_creation in channel oil data structure 4053/head
authorSarita Patra <saritap@vmware.com>
Mon, 1 Apr 2019 06:38:28 +0000 (23:38 -0700)
committerSarita Patra <saritap@vmware.com>
Mon, 1 Apr 2019 06:38:28 +0000 (23:38 -0700)
commite7cd85bda76820933a10d59d0376985fa4b10fd9
treed059bbd9dcf17b9dce66dd698e1129714d7c2e62
parentecedbaa13b8f39011c8c3feed163b293605447de
pimd: Introduce mroute_creation in channel oil data structure

Issue: (*,G) mroute uptime is not updated in mroute table,
after deleting and adding the RP

Root cause: When RP gets deleted or becomes not reachable, then
we un-install the entry from the kernel, but still maintains the
entry in the stack. When  RP gets re-configured or becomes reachable,
"show ip mroute" shows the uptime, when the channel_oil gets created.

Fix: Introduce a new time mroute_creation in the channel_oil, gets
updated when mroute gets installed in the kernel.

Signed-off-by: Sarita Patra <saritap@vmware.com>
pimd/pim_cmd.c
pimd/pim_mroute.c
pimd/pim_oil.h