[EXT] [PATCH v2] compress/mlx5: fix double close for context device
Akhil Goyal
gakhil at marvell.com
Thu Nov 25 11:21:35 CET 2021
> From: Michael Baum <michaelba at nvidia.com>
>
> The context of the device opens once in the common probe and closes with
> its removal.
>
> If the probe of one of the drivers fails, it releases its resources and
> then the common closes the context.
> But mistakenly in the compress probe, if there isn't enough capabilities
> to support compress operations, it closes the device and then common
> probe closes it again.
>
> Remove the redundant closing from compress probe.
>
> Fixes: 2efd26544554 ("compress/mlx5: support partial transformation")
> 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
Please cc all crypto/compression related patches to me in future.
More information about the stable
mailing list