]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: fix deadlock in sta->lock
authorTomas Winkler <tomas.winkler@intel.com>
Tue, 27 May 2008 14:50:52 +0000 (17:50 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 3 Jun 2008 19:00:16 +0000 (15:00 -0400)
commitb83f4e15e65d94f6f56924b0b06a77a7ca2b4d8a
tree0b05ba16e7e2d53d6831e2a198a7a4c41836a752
parent747cf5e924a469a15a454b88a813236460b30975
mac80211: fix deadlock in sta->lock

This patch fixes a deadlock of sta->lock use, occurring while changing
tx aggregation states, as dev_queue_xmit end up in new function
test_and_clear_sta_flags that uses that lock thus leading to deadlock

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Ron Rindjunsky <ron.rindjunsky@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c