diff options
| author | vdhingra <vdhingra@vmware.com> | 2020-10-28 07:32:00 -0700 |
|---|---|---|
| committer | vdhingra <vdhingra@vmware.com> | 2020-11-02 01:06:59 -0800 |
| commit | 99f9518b4a82b710902900c52dc1363cf9ef7da2 (patch) | |
| tree | e430ff4f327683bd76b46929822d2024816339eb /pimd/pim_ifchannel.c | |
| parent | 1af7c1af0621b770218c8ec84fb36d8c480a1091 (diff) | |
pimd: (*,G) Prune processing doesn't remove SGRpt ifchannel
problem :
=========
When (*,G) prune received where we have SGRpt state,
ifchannel goes to NO_INFO state and doesn't get removed.
Root cause :
============
During the processing of (*,G) prune, we are not removing the
ifchannel on PruneTmp or PrunePendingTmp state.
Fix :
=====
In that scenario, stop joinExpiry timer and delete the ifchannel.
issue #7347
Co-authored-by: Saravanan K <saravanank@vmware.com>
Signed-off-by: vishaldhingra <vdhingra@vmware.com>
Diffstat (limited to 'pimd/pim_ifchannel.c')
| -rw-r--r-- | pimd/pim_ifchannel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_ifchannel.c b/pimd/pim_ifchannel.c index b2971e5f1f..e7ff434f4b 100644 --- a/pimd/pim_ifchannel.c +++ b/pimd/pim_ifchannel.c @@ -258,7 +258,7 @@ void pim_ifchannel_delete_all(struct interface *ifp) } } -static void delete_on_noinfo(struct pim_ifchannel *ch) +void delete_on_noinfo(struct pim_ifchannel *ch) { if (ch->local_ifmembership == PIM_IFMEMBERSHIP_NOINFO && ch->ifjoin_state == PIM_IFJOIN_NOINFO |
