]> git.puffer.fish Git - mirror/frr.git/commitdiff
pimd: Use correct function to delete upstream information
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 16 Aug 2016 20:19:14 +0000 (16:19 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 22 Dec 2016 01:26:06 +0000 (20:26 -0500)
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 <sharpd@cumulusnetworks.com>
pimd/pim_upstream.c

index bb322a7cdd2fca58766759fd12d243cdd7a88bab..3685c6899fd0aa3fa70f7264a68098f48cf4010c 100644 (file)
@@ -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
     {