[dpdk-stable] [PATCH] compress/mlx5: fix QP setup error flow

Akhil Goyal gakhil at marvell.com
Thu Sep 2 12:14:49 CEST 2021


> > The QP setup function allocates buffer for its opaque MR and register it
> into
> > MR structure.
> >
> > After buffer alloction and before MR registration, it tries allocate MR Btree.
> > When the MR Btree allocation fails, the buffer was not freed what caused a
> > memory leak.
> >
> > Allocate the MR Btree before buffer alloction.
> >
> > Fixes: 0165bccdb45f ("compress/mlx5: add memory region management")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: Michael Baum <michaelba at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Applied to dpdk-next-crypto

Thanks,


More information about the stable mailing list