> > 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.
> >
> > A
From: Michael Baum
> Sent: Tuesday, August 31, 2021 11:40 PM
> To: dev@dpdk.org
> Cc: Matan Azrad ; sta...@dpdk.org
> Subject: [PATCH] compress/mlx5: fix QP setup error flow
>
> The QP setup function allocates buffer for its opaque MR and register it into
> MR structure.
>
> After buffer allo
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 al
3 matches
Mail list logo