Vasanthakumar Thiagarajan
6c3118e230
ath9k: Fix bug in starting ani
...
There are few places where ANI is started without checking
if it is right to start. This might lead to a case where ani
timer would be left undeleted and cause improper memory acccess
during module unload. This bug is clearly exposed with
paprd support where the driver detects tx hang and does a
chip reset. During this reset ani is (re)started without checking
if it needs to be started. This would leave a timer scheduled
even after all the resources are freed and cause a panic.
This patch introduces a bit in sc_flags to indicate if ani
needs to be started in sw_scan_start() and ath_reset().
This would fix the following panic. This issue is easily seen
with ar9003 + paprd.
BUG: unable to handle kernel paging request at 0000000000003f38
[<ffffffff81075391>] ? __queue_work+0x41/0x50
[<ffffffff8106afaa>] run_timer_softirq+0x17a/0x370
[<ffffffff81088be8>] ? tick_dev_program_event+0x48/0x110
[<ffffffff81061f69>] __do_softirq+0xb9/0x1f0
[<ffffffff810ba060>] ? handle_IRQ_event+0x50/0x160
[<ffffffff8100af5c>] call_softirq+0x1c/0x30
[<ffffffff8100c9f5>] do_softirq+0x65/0xa0
[<ffffffff81061e25>] irq_exit+0x85/0x90
[<ffffffff8155e095>] do_IRQ+0x75/0xf0
[<ffffffff815570d3>] ret_from_intr+0x0/0x11
<EOI>
[<ffffffff812fd67b>] ? acpi_idle_enter_simple+0xe4/0x119
[<ffffffff812fd674>] ? acpi_idle_enter_simple+0xdd/0x119
[<ffffffff81441c87>] cpuidle_idle_call+0xa7/0x140
[<ffffffff81008da3>] cpu_idle+0xb3/0x110
[<ffffffff81550722>] start_secondary+0x1ee/0x1f5
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-23 15:28:42 -04:00
..
2010-05-14 00:19:28 -07:00
2010-05-17 23:23:15 -07:00
2010-05-12 00:05:35 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-06 00:48:51 -07:00
2010-04-28 12:55:10 -07:00
2010-05-20 23:21:45 -07:00
2010-04-14 16:11:33 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-18 15:16:46 -07:00
2010-05-14 03:06:19 -07:00
2010-05-20 21:04:44 -07:00
2010-05-17 22:47:34 -07:00
2010-05-17 22:50:19 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-11 14:53:53 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 03:06:19 -07:00
2010-05-20 23:07:06 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 22:47:34 -07:00
2010-04-14 16:11:33 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 17:30:56 -07:00
2010-05-14 00:19:28 -07:00
2010-05-02 22:02:06 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:26:12 -07:00
2010-05-17 22:55:10 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-20 21:26:12 -07:00
2010-06-23 15:28:42 -04:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2009-09-01 01:13:50 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-03 14:22:15 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2009-09-01 01:14:07 -07:00
2010-05-10 05:01:31 -07:00
2010-05-18 23:01:55 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-04-01 18:38:33 -07:00
2010-05-10 05:01:31 -07:00
2010-02-22 15:45:51 -08:00
2010-05-14 00:19:28 -07:00
2010-05-18 23:01:55 -07:00
2009-12-04 15:39:55 +01:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-07 02:07:49 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2009-06-15 03:02:23 -07:00
2010-05-10 05:01:31 -07:00
2009-09-17 20:07:53 +02:00
2010-05-17 17:21:01 -07:00
2010-05-17 17:20:59 -07:00
2010-05-14 00:19:28 -07:00
2009-04-04 16:51:14 -07:00
2010-05-17 17:34:43 -07:00
2010-05-17 17:32:56 -07:00
2009-08-12 23:03:00 -07:00
2010-02-17 13:35:44 -08:00
2009-04-27 03:27:43 -07:00
2010-03-29 15:41:47 +02:00
2010-02-17 13:35:44 -08:00
2009-08-12 23:02:59 -07:00
2010-03-24 14:10:38 -07:00
2009-11-05 20:00:29 -08:00
2010-05-17 17:35:38 -07:00
2010-04-19 13:17:05 -07:00
2010-04-23 00:10:52 -07:00
2010-05-17 22:47:34 -07:00
2010-02-26 02:10:14 -08:00
2010-02-26 02:10:14 -08:00
2010-05-18 15:16:44 -07:00
2010-05-18 15:16:44 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-03 14:22:15 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-01-07 23:54:26 -08:00
2010-05-17 17:45:48 -07:00
2009-11-11 19:22:21 -08:00
2010-05-10 05:01:31 -07:00
2009-03-11 23:26:02 -07:00
2009-09-01 01:13:40 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2008-12-29 18:42:33 -08:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-12 00:05:35 -07:00
2009-07-06 18:56:11 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 17:44:46 -07:00
2009-11-02 23:40:57 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-05-17 17:44:35 -07:00
2010-04-13 01:41:31 -07:00
2010-04-11 14:53:53 -07:00
2010-02-17 15:59:40 -08:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 21:37:41 +02:00
2010-04-11 14:53:53 -07:00
2010-05-17 22:55:10 -07:00
2009-01-06 10:47:44 -08:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-04-11 14:53:53 -07:00
2010-03-30 23:42:26 -07:00
2010-04-11 14:53:53 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 22:47:34 -07:00
2010-03-18 21:14:00 -07:00
2010-05-17 17:19:40 -07:00
2010-04-03 14:22:15 -07:00
2010-04-21 16:33:29 -07:00
2010-04-11 14:53:53 -07:00
2010-05-05 21:27:45 -07:00
2010-05-05 21:27:44 -07:00
2010-05-17 22:55:10 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-04-13 01:33:44 -07:00
2010-05-14 00:19:28 -07:00
2010-02-16 23:05:38 -08:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-04-11 14:53:53 -07:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-16 00:42:15 -07:00
2010-05-04 01:35:47 +03:00
2010-04-27 12:49:13 -07:00
2009-10-12 23:59:08 -07:00
2010-05-14 00:19:28 -07:00
2009-09-03 20:02:11 -07:00
2009-11-18 23:29:17 -08:00
2010-05-17 22:55:08 -07:00
2010-03-30 22:02:32 +09:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-06 00:47:21 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-04-22 15:48:17 -07:00
2010-04-22 15:48:17 -07:00
2010-03-30 22:02:32 +09:00
2009-10-12 13:26:39 -07:00
2010-05-14 00:19:28 -07:00
2009-04-27 02:53:49 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2009-12-03 13:18:01 -08:00
2010-05-03 15:45:52 -07:00
2009-12-03 13:18:01 -08:00
2010-03-30 22:02:32 +09:00
2010-05-17 23:23:10 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2009-12-02 00:52:31 -08:00
2010-05-20 21:04:44 -07:00
2009-11-09 09:40:57 +01:00
2010-05-14 00:19:28 -07:00
2010-04-13 02:54:17 -07:00
2010-05-17 17:44:36 -07:00
2010-04-30 16:20:39 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2009-09-01 01:14:07 -07:00
2009-04-29 17:32:34 -07:00
2010-05-14 00:19:28 -07:00
2009-08-30 22:35:11 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-20 23:13:45 -07:00
2009-10-13 03:44:05 -07:00
2010-04-11 14:53:53 -07:00
2010-05-14 00:19:28 -07:00
2010-05-15 23:29:31 -07:00
2010-05-15 23:29:31 -07:00
2010-05-14 03:06:22 -07:00
2010-04-28 10:07:44 -07:00
2010-05-14 00:19:28 -07:00
2010-05-17 22:47:34 -07:00
2009-01-06 11:28:06 +01:00
2010-05-10 05:01:31 -07:00
2010-03-10 07:37:06 -08:00
2010-05-10 05:01:31 -07:00
2010-02-15 09:27:02 -08:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-20 21:04:44 -07:00
2009-12-04 15:39:55 +01:00
2010-05-10 05:01:31 -07:00
2009-02-20 00:38:51 -08:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-17 22:47:34 -07:00
2010-05-14 00:19:28 -07:00
2009-02-02 23:19:50 -08:00
2010-05-14 00:19:28 -07:00
2009-12-03 13:18:01 -08:00
2010-05-17 22:47:34 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-05-06 22:10:40 -07:00
2010-03-30 22:02:32 +09:00
2010-04-27 12:49:13 -07:00
2010-04-13 02:54:16 -07:00
2010-05-10 05:01:31 -07:00
2010-01-13 20:37:01 -08:00
2010-04-14 16:11:33 -07:00
2010-05-17 22:47:34 -07:00
2010-05-10 05:01:31 -07:00
2009-01-21 14:34:08 -08:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-01-06 20:32:38 -08:00
2010-05-06 00:53:53 -07:00
2010-05-10 05:01:31 -07:00
2010-05-10 05:01:31 -07:00
2010-04-06 14:24:53 -07:00
2010-04-14 06:45:44 -07:00
2010-05-14 00:19:28 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2010-03-30 22:02:32 +09:00
2010-05-14 00:19:28 -07:00
2010-05-14 00:19:28 -07:00
2010-05-18 23:01:55 -07:00