Search Linux Wireless

Re: soft-safe -> soft-unsafe lock order detected

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

 



> to a soft-irq-unsafe lock:
>  (todo_lock){--..}
> ... which became soft-irq-unsafe at:
> ...  [<800b2248>] __lock_acquire+0x624/0x844
>   [<800b24c4>] lock_acquire+0x5c/0x84
>   [<8006b8c4>] _spin_lock+0x34/0x48
>   [<c0206d9c>] ieee80211_set_default_key+0x4b8/0x4f0 [mac80211]

That seems to be incorrect. ieee80211_set_default_key will have
_irqsave-locked the key lock, so the todo lock is here always locked in
an irq-excluded section.

The lock is, however, possibly used that way in ieee80211_key_link,
which can be fixed easily and we can remove the todo lock too.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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