linux/net/mac80211
Pavel Emelyanov 1ebebea8e8 mac80211: Fix race between ieee80211_rx_bss_put and lookup routines.
The put routine first decrements the users counter and then
(if it is zero) locks the sta_bss_lock and removes one from
the list and the hash.

Thus, any of ieee80211_sta_config_auth, ieee80211_rx_bss_get
or ieee80211_rx_mesh_bss_get can race with it by finding a
bss that is about to get kfree-ed.

Using atomic_dec_and_lock in ieee80211_rx_bss_put takes care
of this race.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-04-23 21:25:35 -04:00
..
aes_ccm.c
aes_ccm.h
cfg.c mac80211: allow WDS mode 2008-04-16 15:59:57 -04:00
cfg.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
debugfs.c
debugfs.h
event.c
ieee80211_i.h mac80211: rework scanning to account for probe response/beacon difference 2008-04-16 16:00:03 -04:00
iface.c
Kconfig
key.c mac80211: fix key todo list order 2008-04-16 15:59:57 -04:00
key.h mac80211: fix key hwaccel race 2008-04-16 14:53:22 -04:00
led.c
led.h
main.c mac80211: fix spinlock recursion 2008-04-16 15:59:57 -04:00
Makefile
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
mesh.c
mesh.h
michael.c
michael.h
mlme.c mac80211: Fix race between ieee80211_rx_bss_put and lookup routines. 2008-04-23 21:25:35 -04:00
rate.c
rate.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rc80211_pid.h
rx.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-04-17 23:56:30 -07:00
sta_info.c
sta_info.h
tkip.c
tkip.h
tx.c
util.c
wep.c
wep.h
wext.c mac80211: allow WDS mode 2008-04-16 15:59:57 -04:00
wme.c
wme.h
wpa.c
wpa.h