On Sun, 2014-03-09 at 11:40 +0200, Eliad Peller wrote: > > @@ -3233,23 +3233,23 @@ int ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, > > &sdata->vif.bss_conf.chandef)) > > return -EINVAL; > > > > - rcu_read_lock(); > > + mutex_lock(&local->chanctx_mtx); > > chanctx_conf = rcu_dereference(sdata->vif.chanctx_conf); > this should probably be rcu_dereference_protected now? Yes, in fact, lockdep ought to warn about this usage now, please enable it :) 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