]> git.puffer.fish Git - mirror/frr.git/commit
bgpd, lib, zebra: Switch to work_queue_free_and_null
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 5 Feb 2018 15:40:09 +0000 (10:40 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 9 Mar 2018 16:07:41 +0000 (11:07 -0500)
commite208c8f94392286aaf77c6d8f2a8b4d22fa3f1d7
tree1b21d5dfb0acb565aba34b27849fe5bc8c1e28c5
parentc67667e74cfbb4e4f2edd3b70609cf9716d5c432
bgpd, lib, zebra: Switch to work_queue_free_and_null

The work_queue_free function free'd up the wq pointer but
did not set it too NULL.  This of course causes situations
where we may use the work_queue after it is freed.  Let's
modify the work_queue to set the pointer for you.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgpd.c
bgpd/rfapi/rfapi_import.c
bgpd/rfapi/rfapi_rib.c
lib/workqueue.c
lib/workqueue.h
zebra/main.c