]> git.puffer.fish Git - mirror/frr.git/commit
pimd: rpf update when pim disabled/enabled
authorsarita patra <saritap@vmware.com>
Wed, 2 Mar 2022 14:33:31 +0000 (06:33 -0800)
committersarita patra <saritap@vmware.com>
Mon, 28 Mar 2022 12:44:40 +0000 (05:44 -0700)
commitbc36ccde9951722fb808af51bc12011d96ad0537
treec97c503dbd5715be71315b7ddf72052699f5fad7
parenta80d833f6b477851e752e6e27ba7d1dae70739b7
pimd: rpf update when pim disabled/enabled

Topology :-

----ens192--------+---------+
R11 -------------R2--------R3
---ens256-------+---------+

R11: receiver
R2: RP
R3: source .
There are 2 links connected between each routers .

R11: Initially (,G) joins are sent over ens192 interface
R11(config)# do show ip pim upstream 225.0.7.208
Iif Source Group State Uptime JoinTimer RSTimer KATimer RefCnt
ens192 * 225.0.7.208 J 00:00:4 00:00:30 --:--:-- --:--:-- 1

Remove PIM from interface ens192 still (*,G) iif not changed

R11(config)# interface ens192
R11(config-if)# no ip pim
R11(config-if)# exit
R11(config)# do show ip pim upstream 225.0.7.208
Iif Source Group State Uptime JoinTimer RSTimer KATimer RefCnt
ens192 * 225.0.7.208 J 00:00:12 00:00:51 --:--:-- --:--:-- 1

Fix: pim upstream rpf update taken care when pim is enabled
or disabled on an interface.

Signed-off-by: sarita patra <saritap@vmware.com>
pimd/pim_nb_config.c
pimd/pim_nht.c
pimd/pim_nht.h
pimd/pim_rpf.c