]> git.puffer.fish Git - mirror/frr.git/commit
pimd: Fix crash on restart from thread_cancel 6475/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 28 May 2020 12:36:04 +0000 (08:36 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 28 May 2020 12:53:13 +0000 (08:53 -0400)
commitc58a47ea2e7d2fb173dbdd122a1b65aaaf6c6039
tree10c234b890587123097ea4d18eb3c5451e005a69
parentc0b664a18777e1c8ca819a30e7ab873b3947cc65
pimd: Fix crash on restart from thread_cancel

We were using thread_cancel() directly instead of
THREAD_OFF which correctly ensures the pointer is not NULL.

Ticket:CM-29866
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pimd/pim_zlookup.c