From: Ron Mercer <ron.mercer@qlogic.com>
To: "leitao@linux.vnet.ibm.com" <leitao@linux.vnet.ibm.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Subject: Re: [PATCH] qlge: Fix a deadlock when the interface is going down
Date: Wed, 25 Aug 2010 07:42:30 -0700 [thread overview]
Message-ID: <20100825144230.GA12700@linux-ox1b.qlogic.org> (raw)
In-Reply-To: <1282690240-5301-1-git-send-email-leitao@linux.vnet.ibm.com>
On Tue, Aug 24, 2010 at 03:50:40PM -0700, leitao@linux.vnet.ibm.com wrote:
> Currently qlge can deadlock when the interface is going
> down, and the mpi_port_cfg_work() is executing on another
> processor. It happens because unregister_netdev() holds
> the rtnl lock, and the mpi_port_cfg_work() also request
> this lock.
>
> Since unregiter_netdev() may wait mpi_port_cfg_work(), who
> also request the holding lock, it can cause an deadlock,
> displaying the following error:
>
Thanks Breno.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
next prev parent reply other threads:[~2010-08-25 14:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 22:50 [PATCH] qlge: Fix a deadlock when the interface is going down leitao
2010-08-25 14:42 ` Ron Mercer [this message]
2010-08-25 23:38 ` David Miller
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=20100825144230.GA12700@linux-ox1b.qlogic.org \
--to=ron.mercer@qlogic.com \
--cc=leitao@linux.vnet.ibm.com \
--cc=netdev@vger.kernel.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).