]> git.baikalelectronics.ru Git - kernel.git/commit
cfg80211: fix regulatory NULL dereference
authorJohannes Berg <johannes.berg@intel.com>
Mon, 21 Nov 2011 09:44:00 +0000 (10:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 19:45:20 +0000 (14:45 -0500)
commit74caa2a860ca2333b73c2b9db0f42ad8f322ff3d
tree834162bf0c3af2bfec813fdb696157f637b307fb
parentb6f14b8664ed6092f4e6c497b5fae2b8ef035674
cfg80211: fix regulatory NULL dereference

By the time userspace returns with a response to
the regulatory domain request, the wiphy causing
the request might have gone away. If this is so,
reject the update but mark the request as having
been processed anyway.

Cc: Luis R. Rodriguez <lrodriguez@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/reg.c