alistair23-linux/net/mac80211
cozybit Inc a3e6b12c02 mac80211: Allocate new mesh path and portal tables before taking locks
It is unnecessary to hold the path table resize lock while allocating a
new table.  Allocate first and take lock later.  This resolves a
soft-lockup:

[  293.385799] BUG: soft lockup - CPU#0 stuck for 61s! [kworker/u:3:744]
(...)
[  293.386049] Call Trace:
[  293.386049]  [<c119fd04>] do_raw_read_lock+0x26/0x29
[  293.386049]  [<c14b2982>] _raw_read_lock+0x8/0xa
[  293.386049]  [<c148c178>] mesh_path_add+0xb7/0x24e
[  293.386049]  [<c148b98d>] ? mesh_path_lookup+0x1b/0xa6
[  293.386049]  [<c148ded5>] hwmp_route_info_get+0x276/0x2fd
[  293.386049]  [<c148dfb6>] mesh_rx_path_sel_frame+0x5a/0x5d9
[  293.386049]  [<c102667d>] ? update_curr+0x1cf/0x1d7
[  293.386049]  [<c148b45a>] ieee80211_mesh_rx_queued_mgmt+0x60/0x67
[  293.386049]  [<c147c374>] ieee80211_iface_work+0x1f0/0x258
(...)

Signed-off-by: Javier Cardona <javier@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-13 15:24:48 -04:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c
agg-tx.c
cfg.c {mac|nl}80211: Add station connected time 2011-04-12 16:58:47 -04:00
cfg.h
chan.c mac80211: fix channel type recalculation with HT and non-HT interfaces 2011-03-14 14:46:58 -04:00
debugfs.c wifi: Add hwflags to debugfs. 2011-04-04 16:18:33 -04:00
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c {mac|nl}80211: Add station connected time 2011-04-12 16:58:47 -04:00
debugfs_sta.h
driver-ops.h mac80211: Check for queued frames before entering power save. 2011-04-12 16:57:34 -04:00
driver-trace.c
driver-trace.h mac80211: Check for queued frames before entering power save. 2011-04-12 16:57:34 -04:00
event.c
ht.c mac80211: copy peer MCS TX parameters 2011-02-25 15:33:39 -05:00
ibss.c mac80211: fix suppressing probe responses in ad-hoc mode 2011-04-04 16:19:59 -04:00
ieee80211_i.h mac80211: ignore peers if security is enabled for this mesh 2011-04-12 16:57:37 -04:00
iface.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-03-03 21:27:42 -08:00
Kconfig mac80211: remove the dependency on crypto_blkcipher 2011-04-04 16:20:00 -04:00
key.c mac80211: fix possible NULL pointer dereference 2011-03-28 15:42:02 -04:00
key.h mac80211: remove unused macros 2011-03-07 13:48:30 -05:00
led.c
led.h
main.c mac80211: send notification on new peer candidate for our secure mesh 2011-04-12 16:58:24 -04:00
Makefile
mesh.c mac80211: send notification on new peer candidate for our secure mesh 2011-04-12 16:58:24 -04:00
mesh.h mac80211: send notification on new peer candidate for our secure mesh 2011-04-12 16:58:24 -04:00
mesh_hwmp.c
mesh_pathtbl.c mac80211: Allocate new mesh path and portal tables before taking locks 2011-04-13 15:24:48 -04:00
mesh_plink.c mac80211: send notification on new peer candidate for our secure mesh 2011-04-12 16:58:24 -04:00
michael.c
michael.h
mlme.c mac80211: Check for queued frames before entering power save. 2011-04-12 16:57:34 -04:00
offchannel.c mac80211: Optimize scans on current operating channel. 2011-02-04 16:30:32 -05:00
pm.c
rate.c
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_minstrel_ht.c mac80211: fix a crash in minstrel_ht in HT mode with no supported MCS rates 2011-03-28 15:42:01 -04:00
rc80211_minstrel_ht.h
rc80211_minstrel_ht_debugfs.c
rc80211_pid.h mac80211: remove unused macros 2011-03-07 13:48:30 -05:00
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c mac80211: receive EAP frames from a station in an AP VLAN on the main AP 2011-04-13 15:21:52 -04:00
scan.c mac80211: fix scan race, simplify code 2011-03-07 13:51:04 -05:00
spectmgmt.c
sta_info.c {mac|nl}80211: Add station connected time 2011-04-12 16:58:47 -04:00
sta_info.h {mac|nl}80211: Add station connected time 2011-04-12 16:58:47 -04:00
status.c mac80211: Minor optimization in tx status handling 2011-03-30 14:15:16 -04:00
tkip.c mac80211: remove the dependency on crypto_blkcipher 2011-04-04 16:20:00 -04:00
tkip.h mac80211: remove the dependency on crypto_blkcipher 2011-04-04 16:20:00 -04:00
tx.c nl80211: rename NL80211_MESH_SETUP_VENDOR_PATH_SEL_IE 2011-04-12 16:57:37 -04:00
util.c mac80211: clean up station cleanup timer 2011-04-04 16:20:07 -04:00
wep.c mac80211: remove the dependency on crypto_blkcipher 2011-04-04 16:20:00 -04:00
wep.h mac80211: remove the dependency on crypto_blkcipher 2011-04-04 16:20:00 -04:00
wme.c
wme.h
work.c mac80211: remove unused macros 2011-03-07 13:48:30 -05:00
wpa.c
wpa.h