]> git.baikalelectronics.ru Git - kernel.git/commit
[MAC80211]: improve locking of sta_info related structures
authorMichael Wu <flamingice@sourmilk.net>
Fri, 27 Jul 2007 13:43:23 +0000 (15:43 +0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:47:37 +0000 (16:47 -0700)
commit0d1d90e3bcc2ee62cc338d080c4cc721efea8702
treea3038a924114f49aa2372ab7c9417d4e072c4b20
parent5ede8cc138eb08a3c1f6ebc6c00b7a6c70106171
[MAC80211]: improve locking of sta_info related structures

The sta_info code has some awkward locking which prevents some driver
callbacks from being allowed to sleep. This patch makes the locking more
focused so code that calls driver callbacks are allowed to sleep. It also
converts sta_lock to a rwlock.

Signed-off-by: Michael Wu <flamingice@sourmilk.net>
Signed-off-by: Jiri Benc <jbenc@suse.cz>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h
net/mac80211/ieee80211.c
net/mac80211/ieee80211_i.h
net/mac80211/ieee80211_iface.c
net/mac80211/ieee80211_sta.c
net/mac80211/sta_info.c
net/mac80211/sta_info.h
net/mac80211/tx.c