]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cfg80211: fix regulatory NULL dereference
authorJohannes Berg <johannes.berg@intel.com>
Mon, 21 Nov 2011 09:44:00 +0000 (10:44 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Fri, 16 Dec 2011 01:14:26 +0000 (17:14 -0800)
commita9d0902b84b9c4c81adcef0c76cf24b5c9531b87
treeb170db580796714b39cdeb8eab2d9b0913ed2c62
parent8cdc5afa597b7eef6fce61849b4529a5dbb4e38d
cfg80211: fix regulatory NULL dereference

commit de3584bd62d87b4c250129fbc46ca52c80330add upstream.

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>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/wireless/reg.c