[EXT] [PATCH] crypto/mlx5: fix crypto dev leak

Akhil Goyal gakhil at marvell.com
Thu Nov 9 21:28:19 CET 2023


> For the case crypto initialize failed, the allocated crypto dev should
> be destroyed, otherwise the dev leaked. Current PMD returns directly
> instead of releasing the dev.
> 
> This commit fixes the crypto dev leak when initialize failed.
> 
> Fixes: a27f6a2e1f30 ("crypto/mlx5: split AES-XTS")
> Signed-off-by: Suanming Mou <suanmingm at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>
Applied to dpdk-next-crypto

Cc: stable at dpdk.org


More information about the dev mailing list