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
..
2010-11-15 13:26:11 -05:00
2010-11-15 13:26:11 -05:00
2011-01-28 16:23:14 -05:00
2011-01-19 11:36:12 -05:00
2011-04-12 16:58:47 -04:00
2011-03-14 14:46:58 -04:00
2010-12-13 15:23:29 -05:00
2010-12-13 15:23:29 -05:00
2011-02-03 16:45:29 -05:00
2011-04-12 16:58:47 -04:00
2011-04-04 16:18:33 -04:00
2010-11-15 13:24:48 -05:00
2011-04-12 16:57:34 -04:00
2011-04-12 16:57:34 -04:00
2011-02-25 15:33:39 -05:00
2011-04-04 16:19:59 -04:00
2011-04-12 16:57:37 -04:00
2011-03-03 21:27:42 -08:00
2011-04-04 16:20:00 -04:00
2011-03-28 15:42:02 -04:00
2011-03-07 13:48:30 -05:00
2011-01-05 16:07:12 -05:00
2010-12-22 14:33:37 -05:00
2011-04-12 16:58:24 -04:00
2010-06-02 16:12:59 -04:00
2010-12-06 16:01:28 -05:00
2011-04-13 15:24:48 -04:00
2011-04-12 16:58:24 -04:00
2011-04-12 16:58:24 -04:00
2011-04-12 16:58:24 -04:00
2011-04-12 16:57:34 -04:00
2011-02-04 16:30:32 -05:00
2010-10-06 16:30:42 -04:00
2010-11-24 16:19:35 -05:00
2010-06-02 16:12:59 -04:00
2010-10-15 15:53:27 +02:00
2010-09-16 10:33:17 +02:00
2011-03-28 15:42:01 -04:00
2010-06-24 15:42:18 -04:00
2010-07-26 15:09:04 -04:00
2010-03-30 22:02:32 +09:00
2010-10-23 11:47:02 -07:00
2011-03-07 13:48:30 -05:00
2011-04-13 15:21:52 -04:00
2011-03-07 13:51:04 -05:00
2011-04-12 16:58:47 -04:00
2011-04-12 16:58:47 -04:00
2011-03-30 14:15:16 -04:00
2011-04-04 16:20:00 -04:00
2011-04-04 16:20:00 -04:00
2011-04-12 16:57:37 -04:00
2011-04-04 16:20:07 -04:00
2011-04-04 16:20:00 -04:00
2011-04-04 16:20:00 -04:00
2010-12-22 15:44:22 -05:00
2011-03-07 13:48:30 -05:00
2011-02-03 16:45:29 -05:00