]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Use THREAD_CANCEL instead of thread_cancel 6481/head
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 28 May 2020 20:33:10 +0000 (16:33 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 28 May 2020 20:51:11 +0000 (16:51 -0400)
commite2d409a88b0f25448435fc0922278a23a1a1edc4
tree283b3e98c2a2e00cdb8ae1979f5a8e72727cc7d1
parentc0b664a18777e1c8ca819a30e7ab873b3947cc65
bgpd: Use THREAD_CANCEL instead of thread_cancel

We are crashing in thread_cancel on shutdown because
the thread pointer is NULL.  Use the more appropriate
THREAD_CANCEL macro

Ticket: CM-29873
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_network.c