From: Jiangyiwen <jiangyiwen@huawei.com>
To: Jason Gunthorpe <jgg@ziepe.ca>
Cc: <bvanassche@acm.org>, <dledford@redhat.com>,
<linux-rdma@vger.kernel.org>, <target-devel@vger.kernel.org>,
<yebiaoxiang@huawei.com>, Xiexiangyou <xiexiangyou@huawei.com>
Subject: Re: [bug report] rdma: rtnl_lock deadlock?
Date: Thu, 8 Aug 2019 09:59:18 +0800 [thread overview]
Message-ID: <5D4B81F6.7010002@huawei.com> (raw)
In-Reply-To: <20190807121037.GC1557@ziepe.ca>
Hi Jason,
On 2019/8/7 20:10, Jason Gunthorpe wrote:
> On Wed, Aug 07, 2019 at 10:21:11AM +0800, Jiangyiwen wrote:
>> Hello,
>>
>> I find a scenario may cause deadlock of rtnl_lock as follows:
>>
>> 1. CPU1 add rtnl_lock and wait kworker finished.
>> CPU1 add rtnl_lock before call unregister_netdevice_queue() and
>> then wait sport->work(function srpt_refresh_port_work) finished
>> in srpt_remove_one().
> This is an old kernel, this issue has been fixed
>
> Jason
>
Thank you for your reply, and can you tell me the commit id?
I use the kernel version is Linux4.19.36.
Thanks,
Yiwen.
prev parent reply other threads:[~2019-08-08 1:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-07 2:21 [bug report] rdma: rtnl_lock deadlock? Jiangyiwen
2019-08-07 12:10 ` Jason Gunthorpe
2019-08-08 1:59 ` Jiangyiwen [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=5D4B81F6.7010002@huawei.com \
--to=jiangyiwen@huawei.com \
--cc=bvanassche@acm.org \
--cc=dledford@redhat.com \
--cc=jgg@ziepe.ca \
--cc=linux-rdma@vger.kernel.org \
--cc=target-devel@vger.kernel.org \
--cc=xiexiangyou@huawei.com \
--cc=yebiaoxiang@huawei.com \
/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).