]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Thread changes allow pim to crash a boo
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 18 May 2017 00:33:43 +0000 (20:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 18 May 2017 00:33:43 +0000 (20:33 -0400)
commit4a07939b68450a2fa4dbf808316da5cc3149d754
tree65836664e58ca6938374be7283cc671de626847c
parentbac7b7b935162915bbefb7d01ce55eb364635c0b
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>
pimd/pim_ifchannel.c
pimd/pim_igmp.c
pimd/pim_igmpv3.c
pimd/pim_mroute.c
pimd/pim_msdp.c
pimd/pim_neighbor.c
pimd/pim_pim.c
pimd/pim_ssmpingd.c
pimd/pim_upstream.c
pimd/pim_zebra.c
pimd/pim_zlookup.c