Re: [dpdk-dev] [PATCH] regex/mlx5: fix RegEx probing error flow

2021-09-01 Thread Ori Kam
> -Original Message- > From: Michael Baum > > In RegEx device probing, there is register read trying after context device > creation. > > When the reading fails, the context device was not freed what caused a > memory leak. > > Free it. > > Fixes: f324162e8e77 ("regex/mlx5: support

Re: [dpdk-dev] [PATCH] regex/mlx5: fix RegEx probing error flow

2021-09-01 Thread Matan Azrad
From: Michael Baum > In RegEx device probing, there is register read trying after context device > creation. > > When the reading fails, the context device was not freed what caused a > memory leak. > > Free it. > > Fixes: f324162e8e77 ("regex/mlx5: support combined rule file") > Cc: sta...@d

[dpdk-dev] [PATCH] regex/mlx5: fix RegEx probing error flow

2021-08-31 Thread Michael Baum
In RegEx device probing, there is register read trying after context device creation. When the reading fails, the context device was not freed what caused a memory leak. Free it. Fixes: f324162e8e77 ("regex/mlx5: support combined rule file") Cc: sta...@dpdk.org Signed-off-by: Michael Baum ---