Luis R. Rodriguez 61405e9778 cfg80211: fix in nl80211_set_reg()
There is a race on access to last_request and its alpha2
through reg_is_valid_request() and us possibly processing
first another regulatory request on another CPU. We avoid
this improbably race by locking with the cfg80211_mutex as
we should have done in the first place. While at it add
the assert on locking on reg_is_valid_request().

Cc: stable@kernel.org
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-20 14:46:32 -04:00
..
2009-04-20 02:14:59 -07:00
2009-01-04 17:29:21 -08:00
2009-05-19 16:02:02 -07:00
2009-04-23 06:37:16 -07:00
2009-04-22 00:49:51 -07:00
2009-05-18 22:11:22 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:43:35 -08:00