Search Linux Wireless

Re: [3.0-rc4] lockdep: netdev notifier vs rfkill

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2011-06-21 at 21:10 +0800, Daniel J Blueman wrote: 
> When hitting the hard rfkill in 3.0-rc4, lockdep spots some likely lock misuse:
> 
> =======================================================
> [ INFO: possible circular locking dependency detected ]
> 3.0.0-rc4-340c #1
> -------------------------------------------------------
> kworker/0:0/4 is trying to acquire lock:
>  (&rdev->mtx){+.+.+.}, at: [<ffffffff816cefce>]
> cfg80211_netdev_notifier_call+0x11e/0x650
> 
> but task is already holding lock:
>  (&rdev->devlist_mtx){+.+.+.}, at: [<ffffffff816cff16>]
> cfg80211_rfkill_set_block+0x46/0xa0
> 
> which lock already depends on the new lock.

This should be fixed with the patch for 3.0 that I have just sent,
"cfg80211: fix deadlock with rfkill/sched_scan by adding new mutex".

-- 
Cheers,
Luca.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux