]> 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)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 31 Jan 2025 20:05:40 +0000 (15:05 -0500)
commit64709ec2a9c4aa1143f64311a9dbc98468a2052c
tree1e143b2ae9e56f482b17097ba3bd74a2c41eb34c
parent07a803a7b30ad3386e491c4efe9eef7f70029d53
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>
zebra/zebra_dplane.c