summaryrefslogtreecommitdiff
path: root/pimd/pim_zebra.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-05-17 20:33:43 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-05-17 20:33:43 -0400
commit4a07939b68450a2fa4dbf808316da5cc3149d754 (patch)
tree65836664e58ca6938374be7283cc671de626847c /pimd/pim_zebra.c
parentbac7b7b935162915bbefb7d01ce55eb364635c0b (diff)
pimd: Thread changes allow pim to crash a boo
When we add a thread pointer to thread_add_XXX functions when the specified function is called, thread.c is setting the thread pointer to NULL. This was causing pim to liberally pull it's zassert grenade pin's. Additionally clean up code to not set the NULL pointer. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_zebra.c')
-rw-r--r--pimd/pim_zebra.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c
index 4506e8cdb5..1f2b47c7db 100644
--- a/pimd/pim_zebra.c
+++ b/pimd/pim_zebra.c
@@ -579,10 +579,6 @@ void pim_scan_oil()
static int on_rpf_cache_refresh(struct thread *t)
{
- zassert(qpim_rpf_cache_refresher);
-
- qpim_rpf_cache_refresher = 0;
-
/* update PIM protocol state */
scan_upstream_rpf_cache();