[PATCH] compress/mlx5: fix double close for context device
Matan Azrad
matan at nvidia.com
Thu Nov 25 09:11:14 CET 2021
From: Michael Baum
> 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 ther isn't enough capabilities to
> support compress operations, it closes the device and then common probe
> closes it again.
>
> Remove the redundent 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>
More information about the dev
mailing list