Merge pull request #13422 from donaldsharp/pim_thread_off_fix

pimd: Fix old commit that got in
This commit is contained in:
Mark Stapp 2023-05-02 14:57:25 -04:00 committed by GitHub
commit 25664eae52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -167,7 +167,7 @@ void pim_clear_nocache_state(struct pim_interface *pim_ifp)
if (*oil_parent(c_oil) != pim_ifp->mroute_vif_index)
continue;
THREAD_OFF(c_oil->up->t_ka_timer);
EVENT_OFF(c_oil->up->t_ka_timer);
PIM_UPSTREAM_FLAG_UNSET_SRC_NOCACHE(c_oil->up->flags);
PIM_UPSTREAM_FLAG_UNSET_SRC_STREAM(c_oil->up->flags);
pim_upstream_del(pim_ifp->pim, c_oil->up, __func__);