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

2023-04-17 Thread Kamalakannan R
table statistics to SWX") Fixes: 4f59d372614 ("pipeline: support learner tables") Cc: sta...@dpdk.org Signed-off-by: Kamalakannan R Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pipeline/rte_swx_pipel

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

2023-04-17 Thread Kamalakannan R
From: 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

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

2023-04-17 Thread kamalakannan R
("pipeline: add table statistics to SWX") Fixes: 4f59d372614 ("pipeline: support learner tables") Signed-off-by: Kamalakannan R Acked-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_pipeline.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pipeline/rte_swx_pipel