Search Linux Wireless

Re: [PATCH 07/10] cfg80211: add assert_cfg80211_lock() to ensure proper protection

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

 



On Sun, Feb 15, 2009 at 3:01 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Fri, 2009-02-13 at 21:33 -0800, Luis R. Rodriguez wrote:
>
>> @@ -1122,6 +1128,9 @@ int __regulatory_hint(struct wiphy *wiphy, enum reg_set_by set_by,
>>       bool intersect = false;
>>       int r = 0;
>>
>> +     if (set_by != REGDOM_SET_BY_CORE)
>> +             assert_cfg80211_lock();
>> +
>>       r = ignore_request(wiphy, set_by, alpha2);
>>
>>       if (r == REG_INTERSECT) {
>
> still conditional locking?

WTF, that was a typo the idea with this new series was to remove that.
Sorry I'll resend with that removed.

  Luis
--
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