diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2025-02-06 17:20:22 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-06 17:20:22 -0600 |
| commit | 3d61bbe0d9aa2785a6deb1d8465be2b0956891c7 (patch) | |
| tree | 6db0434c41c4848845cb4519ea1e06d6471d5eb5 /zebra/zebra_dplane.c | |
| parent | 8b5df229061e92bee844a20e3fcc292edd8f7f7b (diff) | |
| parent | ae8ee154efb45825179e9999312c347275093bf2 (diff) | |
Merge pull request #18042 from FRRouting/mergify/bp/dev/10.3/pr-17865
Coverity 2024 new hotness (backport #17865)
Diffstat (limited to 'zebra/zebra_dplane.c')
| -rw-r--r-- | zebra/zebra_dplane.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.c b/zebra/zebra_dplane.c index 9acdb4b2f8..9c252cc63c 100644 --- a/zebra/zebra_dplane.c +++ b/zebra/zebra_dplane.c @@ -7703,7 +7703,10 @@ static void zebra_dplane_init_internal(void) dplane_prov_list_init(&zdplane_info.dg_providers); - dplane_ctx_list_init(&zdplane_info.dg_update_list); + frr_with_mutex (&zdplane_info.dg_mutex) { + dplane_ctx_list_init(&zdplane_info.dg_update_list); + } + zns_info_list_init(&zdplane_info.dg_zns_list); zdplane_info.dg_updates_per_cycle = DPLANE_DEFAULT_NEW_WORK; |
