]> git.puffer.fish Git - mirror/frr.git/commit
zebra: fix route deletion during zebra shutdown 15569/head
authorAlexander Skorichenko <askorichenko@netgate.com>
Wed, 28 Feb 2024 19:34:06 +0000 (20:34 +0100)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Mon, 18 Mar 2024 11:45:05 +0000 (11:45 +0000)
commite5e564a4217697aa13148cfc4dccd773dd7c5fc5
tree44ecf8d44f20b1d8e67dfbc9bba8bf70996222df
parenta0153fff1849c146279cc7555eb28ab6e1fef620
zebra: fix route deletion during zebra shutdown

Split zebra's vrf_terminate() into disable() and delete() stages.
The former enqueues all events for the dplane thread.
Memory freeing is performed in the second stage.

Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
(cherry picked from commit 444ce317b2af491b5cdc321286772627a5d4c8ea)
lib/vrf.c
lib/vrf.h
zebra/main.c