diff options
author | Johannes Berg <johannes.berg@intel.com> | 2013-02-22 12:55:01 +0100 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-02-26 00:09:19 +0100 |
commit | 1b91731d23a3dd8e8d7e3ee21b8c6d6d4cde62c1 (patch) | |
tree | 8e4e5ecaa9429f2592905f8c019082f217682560 /net/unix/garbage.c | |
parent | dc4a787c8f52f9d6e46156953f8014a3353bcbc7 (diff) | |
download | linux-1b91731d23a3dd8e8d7e3ee21b8c6d6d4cde62c1.tar.gz linux-1b91731d23a3dd8e8d7e3ee21b8c6d6d4cde62c1.tar.bz2 linux-1b91731d23a3dd8e8d7e3ee21b8c6d6d4cde62c1.zip |
mac80211: fix tim_lock locking
The ieee80211_beacon_add_tim() function might be called
by drivers with BHs enabled, which causes a potential
deadlock if TX happens at the same time and attempts to
lock the tim_lock as well. Use spin_lock_bh to fix it.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions