[dpdk-dev] [PATCH] net/mlx5: fix protential unreleased lock problem

2021-08-26 Thread Chengfeng Ye
The lock sh->txpp.mutex isn't correctly released if the function return in the patched branch, which may lead to deadlock if this lock is acuired again. The patch is to fix this problem. Cc: cy...@connect.ust.hk Bugzilla ID: 774 Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6

[dpdk-dev] [PATCH] net/mlx5: fix protential unreleased lock problem

2021-08-26 Thread Chengfeng Ye
The lock sh->txpp.mutex isn't correctly released if the function return in the patched branch, which may lead to deadlock if this lock is acuired again. The patch is to fix this problem. Cc: cy...@connect.ust.hk Bugzilla ID: 774 Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6