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

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