commit | 368d06f5b0eefcbf37d677d3b65381310a251f03 | [log] [tgz] |
---|---|---|
author | John W. Linville <linville@tuxdriver.com> | Tue Mar 16 15:40:59 2010 -0400 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Mar 30 15:37:20 2010 -0400 |
tree | e8e05e1e6a34583f31203c29c03dcf9f6c036aeb | |
parent | c8406ea8fa1adde8dc5400127281d497bbcdb84a [diff] |
wireless: convert reg_regdb_search_lock to mutex Stanse discovered that kmalloc is being called with GFP_KERNEL while holding this spinlock. The spinlock can be a mutex instead, which also enables the removal of the unlock/lock around the lock/unlock of cfg80211_mutex and the call to set_regdom. Reported-by: Jiri Slaby <jirislaby@gmail.com> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>