Search Linux Wireless

Re: [PATCH 1/1] mac80211: only single mutex locked to prevent deadlock

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

 



On Mon, 2010-01-25 at 10:12 -0800, wey-yi.w.guy@xxxxxxxxx wrote:
> From: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx>
> 
> Both ifmgd->mtx and sdata->local->iflist_mtx are locked in
> ieee80211_mgd_probe_ap(), not sure it will cause deadlock condition. but
> it is better to only has one mutex at a time.

It shouldn't cause a deadlock, we do this all the time, e.g. in
ieee80211_rx_mgmt_probe_resp(), so I don't think the extra locking makes
a lot of sense.

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