]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Ensure dplane does not send work back to master at wrong time
authorDonald Sharp <sharpd@nvidia.com>
Fri, 31 Jan 2025 17:38:20 +0000 (12:38 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 4 Feb 2025 16:18:59 +0000 (16:18 +0000)
commit35cd931347d76fb874156b4ecc26524df648e930
tree5aece242d61d6c621bcc1739b56e4304ff9de914
parent0e695f7083bcd979c24504eade6f93e965eeb845
zebra: Ensure dplane does not send work back to master at wrong time

When looping through the dplane providers, the worklist was
being populated with items from the last provider and then
the event system was checked to see if we should stop processing.
If the event system says `yes` then the dplane code would stop
and send the worklist to the master zebra pthread for collection.
This obviously skipped the next dplane provider on the list
which is double plus not good.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
(cherry picked from commit c41155221e7fb7890fecc37f1685063dce6caaca)
zebra/zebra_dplane.c