[PATCH v3] pipeline: fix double free error for table stats

Thomas Monjalon thomas at monjalon.net
Wed May 24 23:16:13 CEST 2023


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 at dpdk.org
> 
> Signed-off-by: Kamalakannan R <kamalakannan.r at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks.





More information about the stable mailing list