linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Subject: Re: iw lockdep warning on wireless-testing
Date: Tue, 24 Jun 2008 17:03:19 +0200	[thread overview]
Message-ID: <48610CB7.5030705@gmail.com> (raw)
In-Reply-To: <1214298350.14590.238.camel@debian.sh.intel.com>

Zhu Yi wrote, On 06/24/2008 11:05 AM:

> On Tue, 2008-06-24 at 10:59 +0200, Johannes Berg wrote:
>>> [ INFO: possible circular locking dependency detected ]
>>> 2.6.26-rc6-wl #57
>>> -------------------------------------------------------
>>> iw/2763 is trying to acquire lock:
>>>  (genl_mutex){--..}, at: [<ffffffff81216e4c>] ctrl_dumpfamily
>> +0x31/0xf7
>>> but task is already holding lock:
>>>  (nlk->cb_mutex){--..}, at: [<ffffffff812137c8>] netlink_dump
>> +0x40/0x19d
>>> which lock already depends on the new lock.
>> None of those is anything nl80211 has influence over, afaict.
> 
> Agreed. I can follow the two scenarios below. Apparently it's a ABBA
> locking issue. Just don't know which should be the correct sequence for
> using with the two locks.
> 

It should be fixed by this patch:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6d1a3fb567a728d31474636e167c324702a0c38b

Regards,
Jarek P.


      reply	other threads:[~2008-06-24 15:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-24  7:39 iw lockdep warning on wireless-testing Zhu Yi
2008-06-24  8:59 ` Johannes Berg
2008-06-24  9:05   ` Zhu Yi
2008-06-24 15:03     ` Jarek Poplawski [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=48610CB7.5030705@gmail.com \
    --to=jarkao2@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --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).