[dpdk-dev] [PATCH v2] net/axgbe: fix potential unreleased lock problem in axgbe_i2c_xfer
Ferruh Yigit
ferruh.yigit at intel.com
Wed Sep 8 15:31:05 CEST 2021
On 8/26/2021 7:55 PM, Chengfeng Ye wrote:
> 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: cyeaa at connect.ust.hk
> Bugzilla ID: 777
>
> Signed-off-by: Chengfeng Ye <cyeaa at connect.ust.hk>
Reviewed-by: Ferruh Yigit <ferruh.yigit at intel.com>
Bugzilla ID: 777
Fixes: 4ac7516b8b39 ("net/axgbe: add phy init and related APIs")
Cc: stable at dpdk.org
Patch title updated as following while merging:
net/axgbe: fix unreleased lock in I2C transfer
Applied to dpdk-next-net/main, thanks.
More information about the dev
mailing list