[PATCH] telemetry: fix repeat display when callback don't init dict

David Marchand david.marchand at redhat.com
Thu Feb 9 08:41:19 CET 2023


On Thu, Feb 9, 2023 at 2:31 AM Chengwen Feng <fengchengwen at huawei.com> wrote:
>
> When a telemetry callback doesn't initialize the telemetry data
> structure and returns a non-negative number, the telemetry will repeat
> to display the last result. This patch zero the data structure to avoid
> the problem.
>
> Fixes: 6dd571fd07c3 ("telemetry: introduce new functionality")
> Cc: stable at dpdk.org
>
> Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
> Reviewed-by: Bruce Richardson <bruce.richardson at intel.com>

Applied, thanks.


-- 
David Marchand



More information about the dev mailing list