Search Linux Wireless

Re: [PATCH 2/2] mac80211: fix AP_VLAN channel context handling

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

 



On Tue, 2012-12-11 at 20:37 +0100, Johannes Berg wrote:
> I still don't like the lock-free stuff, I'll apply the patch below
> instead.

Well, modulo the bugs:


> +	conf = rcu_dereference_protected(ap->vif.chanctx_conf,
> +					 lockdep_is_held(&local->chanctx_mtx));
> +	if (WARN_ON(!conf))
> +		goto unlock;

get rid of this


> -		else
> -			netif_carrier_off(dev);
> +		} else {
> +			netif_carrier_on(dev);

and don't mess up this

johannes

--
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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux