From 30df5c100e436a85429c11e57cf2f5fbba983bf1 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 16 Aug 2016 16:19:14 -0400 Subject: [PATCH] pimd: Use correct function to delete upstream information When the keep alive timer finds that we are no longer sending packets for that particular S,G, remove the upstream information but use the function that makes sure we check the ref count. Signed-off-by: Donald Sharp --- pimd/pim_upstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pimd/pim_upstream.c b/pimd/pim_upstream.c index bb322a7cdd..3685c6899f 100644 --- a/pimd/pim_upstream.c +++ b/pimd/pim_upstream.c @@ -826,7 +826,7 @@ pim_upstream_keep_alive_timer (struct thread *t) (up->channel_oil->cc.oldlastused >= up->channel_oil->cc.lastused)) { pim_mroute_del (up->channel_oil); - pim_upstream_delete (up); + pim_upstream_del (up); } else { -- 2.39.5