summaryrefslogtreecommitdiff
path: root/pathd/path_cli.c
diff options
context:
space:
mode:
authorSarita Patra <saritap@vmware.com>2022-11-10 22:59:58 -0800
committerSarita Patra <saritap@vmware.com>2022-11-14 00:17:48 -0800
commit93d4f4f0dd6c3d9b42d5f7604a064a7303c0c282 (patch)
tree1282064bf402f169017d6ecfbd74d54df871476a /pathd/path_cli.c
parent12211791a9e6bb7002c3c24af68c2defa02ff747 (diff)
pimd, pim6d: Update upstream rpf disable/enable pim on interface
Problem: When "no ip pim" is executed on source connected interface, its ifp->info is set to NULL. But KAT on this interface is still running, it wrongly dereferences NULL. This leads to crash. Root Cause: pim upstream IIF is still pointing towards the source connected interface which is not pim enabled and Mroute is still present in the kernel. Fix: When “no ip pim” command gets executed on source connected interface, then loop through all the pnc->nexthop, if any new nexthop found, then update the upstream IIF accordindly, if not found then update the upstream IIF as Unknown and uninstall the mroute from kernel. When “ip pim” command gets executed on source connected interface, then also loop through all the pnc->nexthop and update the upstream IIF, install the mroute in kernel. Issue: #10782 Issue: #11931 Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'pathd/path_cli.c')
0 files changed, 0 insertions, 0 deletions