From: Ferruh Yigit <ferruh.yigit@intel.com>
To: Chengfeng Ye <cyeaa@connect.ust.hk>, <asomalap@amd.com>
Cc: <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH v2] net/axgbe: fix potential unreleased lock problem in axgbe_i2c_xfer
Date: Wed, 8 Sep 2021 14:31:05 +0100 [thread overview]
Message-ID: <7c3748ba-3324-7993-5cc7-5f6af3ec7caf@intel.com> (raw)
In-Reply-To: <20210826185559.107237-1-cyeaa@connect.ust.hk>
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@connect.ust.hk
> Bugzilla ID: 777
>
> Signed-off-by: Chengfeng Ye <cyeaa@connect.ust.hk>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Bugzilla ID: 777
Fixes: 4ac7516b8b39 ("net/axgbe: add phy init and related APIs")
Cc: stable@dpdk.org
Patch title updated as following while merging:
net/axgbe: fix unreleased lock in I2C transfer
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2021-09-08 13:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-26 18:55 Chengfeng Ye
2021-09-08 13:31 ` Ferruh Yigit [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c3748ba-3324-7993-5cc7-5f6af3ec7caf@intel.com \
--to=ferruh.yigit@intel.com \
--cc=asomalap@amd.com \
--cc=cyeaa@connect.ust.hk \
--cc=dev@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).