]> git.baikalelectronics.ru Git - kernel.git/commit
regulatory: use RCU to protect global and wiphy regdomains
authorJohannes Berg <johannes.berg@intel.com>
Thu, 6 Dec 2012 14:47:38 +0000 (15:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:29 +0000 (13:01 +0100)
commitdd9ea9cba19480a70826ce07765eaf0c7fa5e4c2
treefebf655badc2a045b3aaaf63271226729c76e325
parent6d6fb6437bc9a5fd933075e0033714e8c4c6e3b9
regulatory: use RCU to protect global and wiphy regdomains

To simplify the locking and not require cfg80211_mutex
(which nl80211 uses to access the global regdomain) and
also to make it possible for drivers to access their
wiphy->regd safely, use RCU to protect these pointers.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
include/net/regulatory.h
net/wireless/nl80211.c
net/wireless/reg.c
net/wireless/reg.h