Re: [PATCH v3] net/mlx5: fix matcher object memory leak

2024-07-04 Thread Raslan Darawsheh
Hi, From: Mahmoud Maatuq Sent: Tuesday, July 2, 2024 11:14 PM To: Dariusz Sosnowski; Slava Ovsiienko; Bing Zhao; Ori Kam; Suanming Mou; Matan Azrad; Maayan Kashani Cc: dev@dpdk.org; Mahmoud Maatuq Subject: [PATCH v3] net/mlx5: fix matcher object memory leak This makes sure that the allocated

RE: [PATCH v3] net/mlx5: fix matcher object memory leak

2024-07-03 Thread Dariusz Sosnowski
gt; Azrad > > ; Maayan Kashani > > Cc: dev@dpdk.org; Mahmoud Maatuq > > Subject: [PATCH v3] net/mlx5: fix matcher object memory leak > > > > External email: Use caution opening links or attachments > > > > > > This makes sure that the allocated matcher o

RE: [PATCH v3] net/mlx5: fix matcher object memory leak

2024-07-03 Thread Bing Zhao
Hi, > -Original Message- > From: Mahmoud Maatuq > Sent: Wednesday, July 3, 2024 4:15 AM > To: Dariusz Sosnowski ; Slava Ovsiienko > ; Bing Zhao ; Ori Kam > ; Suanming Mou ; Matan Azrad > ; Maayan Kashani > Cc: dev@dpdk.org; Mahmoud Maatuq > Subject: [PATC

[PATCH v3] net/mlx5: fix matcher object memory leak

2024-07-02 Thread Mahmoud Maatuq
This makes sure that the allocated matcher object is freed for all branches that return NULL. Coverity issue: 426424 Fixes: 27d171b88031 ("net/mlx5: abstract flow action and enable reconfigure") Cc: mkash...@nvidia.com Signed-off-by: Mahmoud Maatuq --- v3: * changed commit message. * fixed typos