Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: fix route deletion during zebra shutdown
Restore the order of execution in zebra's main thread: vrf_terminate(); zebra_dplane_finish(); zebra_dplane_shutdown(); changed in commit 3b0e170. vrf_terminate() enqueues routes for deletion in dplane thread. zebra_dplane_shutdown() effectively forces dplane thread to immediately cease and join (leaving unprocessed routes), while zebra_dplane_finish() has a condition that prevents zebra_dplane_shutdown() from running until all routes queued for dplane thread have been deleted. Signed-off-by: Alexander Skorichenko <[email protected]>
- Loading branch information