On Mon, Nov 11, 2013 at 3:03 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > On Fri, 2013-11-08 at 11:41 +0100, Janusz Dziedzic wrote: > >> + rcu_read_lock(); >> + regdom = rcu_dereference(cfg80211_regdomain); >> + dfs_region = regdom->dfs_region; >> + rcu_read_unlock(); > > Isn't all of this valid to dereference under RTNL anyway? See > get_cfg80211_regdom() Also note that we have wiphy->regd too, so that should be considered, if present that should be used. 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