Thread (3 messages) 3 messages, 3 authors, 2021-07-31

Re: [dpdk-dev] [EXT] [PATCH] crypto/mlx5: fix driver probing error flow

From: Thomas Monjalon <hidden>
Date: 2021-07-31 09:37:19

30/07/2021 21:23, Akhil Goyal:
quoted
In crypto driver probing, there are two validations after context
allocation.

When one of them fails, the context structure was not freed what caused
a memory leak.

Free it.

Fixes: debb27ea3442 ("crypto/mlx5: create login object using DevX")
Fixes: e8db4413cba5 ("crypto/mlx5: add keytag configuration")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <redacted>
Acked-by: Matan Azrad <redacted>
---
Applied to dpdk-next-crypto
@Thomas Monjalon: I do not think title and patch description are inline.
You may fix it while pulling on main branch.
New title:
crypto/mlx5: fix leaks on probing failure

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help