netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: ron.mercer@qlogic.com
Cc: leitao@linux.vnet.ibm.com, netdev@vger.kernel.org
Subject: Re: [PATCH] qlge: Fix a deadlock when the interface is going down
Date: Wed, 25 Aug 2010 16:38:51 -0700 (PDT)	[thread overview]
Message-ID: <20100825.163851.116362795.davem@davemloft.net> (raw)
In-Reply-To: <20100825144230.GA12700@linux-ox1b.qlogic.org>

From: Ron Mercer <ron.mercer@qlogic.com>
Date: Wed, 25 Aug 2010 07:42:30 -0700

> 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>

Applied.

      reply	other threads:[~2010-08-25 23:38 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
2010-08-25 23:38   ` David Miller [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=20100825.163851.116362795.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=leitao@linux.vnet.ibm.com \
    --cc=netdev@vger.kernel.org \
    --cc=ron.mercer@qlogic.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).