]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra: use provider function to receive data directly
authorDonna Sharp <dksharp5@gmail.com>
Mon, 24 Feb 2025 19:51:12 +0000 (14:51 -0500)
committerDonna Sharp <dksharp5@gmail.com>
Mon, 24 Feb 2025 19:51:12 +0000 (14:51 -0500)
Signed-off-by: Donna Sharp <dksharp5@gmail.com>
zebra/zebra_dplane.c

index 9c252cc63ceafebd6253b51c1b3913a3681f6348..4344a8d79aed8c580ab04dcc62c975198937b78f 100644 (file)
@@ -6210,8 +6210,7 @@ int dplane_show_provs_helper(struct vty *vty, bool detailed)
 
                in_max = atomic_load_explicit(&prov->dp_in_max,
                                              memory_order_relaxed);
-               out = atomic_load_explicit(&prov->dp_out_counter,
-                                          memory_order_relaxed);
+               out = dplane_provider_out_ctx_queue_len(prov);
 
                out_max = atomic_load_explicit(&prov->dp_out_max,
                                               memory_order_relaxed);