[dpdk-stable] [PATCH] regex/mlx5: fix RegEx probing error flow
Thomas Monjalon
thomas at monjalon.net
Wed Sep 22 21:19:34 CEST 2021
01/09/2021 10:11, Ori Kam:
> > From: Michael Baum <michaelba at nvidia.com>
> >
> > 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>
>
> Thanks,
> Acked-by: Ori Kam <orika at nvidia.com>
Applied, thanks.
Title changed to:
regex/mlx5: fix leak after probing failure
More information about the stable
mailing list