From: Thomas Monjalon <thomas@monjalon.net>
To: Kamalakannan R <kamalakannan.r@intel.com>
Cc: dev@dpdk.org, harshad.suresh.narayane@intel.com, stable@dpdk.org,
Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Subject: Re: [PATCH v3] pipeline: fix double free error for table stats
Date: Wed, 24 May 2023 23:16:13 +0200 [thread overview]
Message-ID: <2907693.2VHbPRQshP@thomas> (raw)
In-Reply-To: <20230417112243.727023-1-kamalakannan.r@intel.com>
17/04/2023 13:22, Kamalakannan R:
> The pointer to the table statistics data structure needs to be set
> to NULL after free inside the table_build_free(), as this function is
> called from multiple places, leading to double memory free error.
>
> Similar fix for the learner_build_free() function.
>
> Fixes: 742b0a57f50 ("pipeline: add table statistics to SWX")
> Fixes: 4f59d372614 ("pipeline: support learner tables")
> Cc: stable@dpdk.org
>
> Signed-off-by: Kamalakannan R <kamalakannan.r@intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Applied, thanks.
prev parent reply other threads:[~2023-05-24 21:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-17 11:22 Kamalakannan R
2023-05-24 21:16 ` Thomas Monjalon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2907693.2VHbPRQshP@thomas \
--to=thomas@monjalon.net \
--cc=cristian.dumitrescu@intel.com \
--cc=dev@dpdk.org \
--cc=harshad.suresh.narayane@intel.com \
--cc=kamalakannan.r@intel.com \
--cc=stable@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).