Re: iw lockdep warning on wireless-testing
From: Jarek Poplawski <hidden>
Date: 2008-06-24 15:47:56
Zhu Yi wrote, On 06/24/2008 11:05 AM:
On Tue, 2008-06-24 at 10:59 +0200, Johannes Berg wrote:quoted
quoted
[ 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/0xf7quoted
but task is already holding lock: (nlk->cb_mutex){--..}, at: [<ffffffff812137c8>] netlink_dump+0x40/0x19dquoted
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.