Skip to content
Commit aa727bb7 authored by Hamdan Igbaria's avatar Hamdan Igbaria Committed by Greg Kroah-Hartman
Browse files

RDMA/mlx5: Fix mutex unlocking on error flow for steering anchor creation



commit 2fad8f06 upstream.

The mutex was not unlocked on some of the error flows.
Moved the unlock location to include all the error flow scenarios.

Fixes: e1f4a52a ("RDMA/mlx5: Create an indirect flow table for steering anchor")
Reviewed-by: default avatarMark Bloch <mbloch@nvidia.com>
Signed-off-by: default avatarHamdan Igbaria <hamdani@nvidia.com>
Link: https://lore.kernel.org/r/1244a69d783da997c0af0b827c622eb00495492e.1695203958.git.leonro@nvidia.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6dd42618
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment