[dpdk-dev] [PATCH] pdump: fix uninit not freeing statistics memzone
Thomas Monjalon
thomas at monjalon.net
Wed Nov 3 12:54:59 CET 2021
26/10/2021 21:57, Stephen Hemminger:
> On Tue, 26 Oct 2021 12:53:01 +0100
> Konstantin Ananyev <konstantin.ananyev at intel.com> wrote:
>
> > diff --git a/lib/pdump/rte_pdump.c b/lib/pdump/rte_pdump.c
> > index 71602685d5..a708935861 100644
> > --- a/lib/pdump/rte_pdump.c
> > +++ b/lib/pdump/rte_pdump.c
> > @@ -74,6 +74,7 @@ static const char MZ_RTE_PDUMP_STATS[] = "rte_pdump_stats";
> > static struct {
> > struct rte_pdump_stats rx[RTE_MAX_ETHPORTS][RTE_MAX_QUEUES_PER_PORT];
> > struct rte_pdump_stats tx[RTE_MAX_ETHPORTS][RTE_MAX_QUEUES_PER_PORT];
> > + const struct rte_memzone *mz;
> > } *pdump_stats;
>
> Thanks for fixing.
>
> Acked-by: Stephen Hemminger <stephen at networkplumber.org>
Applied, thanks.
More information about the dev
mailing list