]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim_oil.c
pimd: PIM not sending register packets after changing from non DR to DR
authorSai Gomathi N <nsaigomathi@vmware.com>
Fri, 17 Mar 2023 10:51:16 +0000 (03:51 -0700)
committerSai Gomathi N <nsaigomathi@vmware.com>
Fri, 17 Mar 2023 10:51:16 +0000 (03:51 -0700)
commit1c883aef96013753f5467ba5e5028dee0f0a82c5
treed1f57879a59f85c301c411e9df7ff5c03569be19
parent6c634d2912a52652bb80d1e3e8200637c50d9e1f
pimd: PIM not sending register packets after changing from non DR to DR

When the router is non dr for an interface, it installs mroute to drop
the packets from directly connected source. This was done to avoid packets
coming to cpu as nocache hit. Later when it gets change from non-DR to DR,
these entries are not cleared. So the packets are still dropped.
This causes register packets not getting generated.
So cleaning up the mroute entries and channel oil without
upstream reference which was created to drop.

Co-authored-by: Saravanan K <saravanank@vmware.com>
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
pimd/pim_neighbor.c
pimd/pim_oil.c
pimd/pim_oil.h