]> 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)
commit26a316c0867f388c394d67f9ebfc29d0fea2c289
treedb228d48bc1c0b8244892d2a329b514da167f339
parent504b4d493ea21422e221dbb0b34d5ccb370dc3e4
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