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

Matan Azrad matan at nvidia.com
Wed Sep 1 09:47:16 CEST 2021



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: stable at dpdk.org
> 
> Signed-off-by: Michael Baum <michaelba at nvidia.com>
Acked-by: Matan Azrad <matan at nvidia.com>


More information about the dev mailing list