]> git.baikalelectronics.ru Git - kernel.git/commit
regulatory: fix uevent
authorJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jan 2013 09:22:07 +0000 (10:22 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 9 Jan 2013 11:19:43 +0000 (12:19 +0100)
commit8bdc89c916959f297176008ae149c1c2b1008cac
treedb228d48bc1c0b8244892d2a329b514da167f339
parent3bd540f7039fab103122433ce450a078d26cccd9
regulatory: fix uevent

The uevent callback doesn't protect its access to
last_request, which now causes a warning since
the conversion to get_last_request(). Fix this by
allowing to use RCU protection for last_request.

Reported-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c