RE: [PATCH] net/mlx5: fix thread workspace memory leak

2022-10-18 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Bill Zhou > Sent: Thursday, October 13, 2022 12:34 PM > To: Slava Ovsiienko ; Matan Azrad > > Cc: dev@dpdk.org; Raslan Darawsheh ; > Xueming(Steven) Li ; sta...@dpdk.org > Subject: [PATCH] net/mlx5: fix thread workspace mem

[PATCH] net/mlx5: fix thread workspace memory leak

2022-10-13 Thread Dong Zhou
The thread workspace push/pop should be paired. In the "flow_list_create" routine, if error happened the workspace pop was missed. This patch shares the workspace pop for all return paths. Fixes: 0064bf431899 ("net/mlx5: fix nested flow creation") Cc: xuemi...@nvidia.com Cc: sta...@dpdk.org Signe