]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: Ensure that changes to dg_update_list are protected by mutex
authorDonald Sharp <sharpd@nvidia.com>
Thu, 16 Jan 2025 16:17:11 +0000 (11:17 -0500)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Thu, 6 Feb 2025 16:16:49 +0000 (16:16 +0000)
commitae8ee154efb45825179e9999312c347275093bf2
treecc2200ff2281d9a41af8a57c8fc33bea238fdd73
parentedfcf0662b7199220ed44e5dabefefb631f058e7
zebra: Ensure that changes to dg_update_list are protected by mutex

The dg_update_list access is controlled by the dg_mutex in all
other locations.  Let's just add a mutex usage around the initialization
of the dg_update_list even if it's part of the startup, just to keep
things consistent.

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