[PATCH v6] net/mlx5: fix mutex unlock in txpp cleanup

2021-11-16 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released on one path of cleanup function return, potentially causing the deadlock. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx

[dpdk-dev] [PATCH v5] net/mlx5: fix mutex unlock in txpp cleanup

2021-10-12 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released on one path of cleanup function return, potentially causing the deadlock. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6 +

[dpdk-dev] [PATCH v5] net/mlx5: fix mutex unlock in txpp cleanup

2021-09-28 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released on one path of cleanup function return, potentially causing the deadlock. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6 +

[dpdk-dev] [PATCH v4] net/mlx5: fix mutex unlock in txpp cleanup

2021-09-03 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released if the function returned in these two branches, which may led to deadlock if the function was acquired again. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye ---

[dpdk-dev] [PATCH v4] net/mlx5: fix mutex unlock in txpp cleanup

2021-08-30 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released if the function returned in these two branches, which may led to deadlock if the function was acquired again. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye ---

[dpdk-dev] [PATCH v3] net/mlx5: fix mutex unlock in txpp cleanup

2021-08-30 Thread Chengfeng Ye
The lock sh->txpp.mutex was not correctly released if the function returned in these two branches, which may led to deadlock if the function was acquired again. Fixes: d133f4cdb7 ("net/mlx5: create clock queue for packet pacing") Cc: sta...@dpdk.org Signed-off-by: Chengfeng Ye ---

[dpdk-dev] [PATCH v2] net/axgbe: fix potential unreleased lock problem

2021-08-26 Thread Chengfeng Ye
The lock pdata->phy_mutex may not be correctly released if the function return in these two branches, which may lead to deadlock if the lock is acquired again. Cc: cy...@connect.ust.hk Bugzilla ID: 776 Signed-off-by: Chengfeng Ye --- drivers/net/axgbe/axgbe_phy_impl.c | 5 - 1 file chan

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

2021-08-26 Thread Chengfeng Ye
The lock sh->txpp.mutex isn't correctly released if the function return in these two branches, which may lead to deadlock if the lock is acquired again. Cc: cy...@connect.ust.hk Bugzilla ID: 774 Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6 +- 1 file ch

[dpdk-dev] [PATCH v2] net/axgbe: fix potential unreleased lock problem in axgbe_i2c_xfer

2021-08-26 Thread Chengfeng Ye
The lock pdata->i2c_mutex is not released if the function return in these two patched branches, which may lead to deadlock problem if this lock is acquired again. Cc: cy...@connect.ust.hk Bugzilla ID: 777 Signed-off-by: Chengfeng Ye --- drivers/net/axgbe/axgbe_i2c.c | 2 ++ 1 file changed

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

2021-08-26 Thread Chengfeng Ye
The lock sh->txpp.mutex isn't correctly released if the function return in these two branches, which may lead to deadlock if the lock is acquired again. Cc: cy...@connect.ust.hk Bugzilla ID: 774 Signed-off-by: Chengfeng Ye --- drivers/net/mlx5/mlx5_txpp.c | 6 +- 1 file ch

[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/mlx

[dpdk-dev] [PATCH] net/axgbe: fix protential unreleased lock problem in axgbe_i2c_xfer

2021-08-26 Thread Chengfeng Ye
The lock pdata->i2c_mutex is not released if the function return in these two patched branches, which may lead to deadlock problem if this lock is acuired again. The patch is to fix this problem. Cc: cy...@connect.ust.hk Bugzilla ID: 777 Signed-off-by: Chengfeng Ye --- drivers/net/ax

[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/mlx

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

2021-08-26 Thread Chengfeng Ye
The lock pdata->phy_mutex may not be correctly released if the function return in these two branches, which may lead to deadlock if the lock is acuired again. The patch is to fix this problem. Cc: cy...@connect.ust.hk Bugzilla ID: 776 Signed-off-by: Chengfeng Ye --- drivers/net/ax