Mohammed Shafi Shajakhan
9cf04dcc9c
ath9k: Fix possible double free of PAPRD skb's
This patch reverts the following commit
ath9k: remove bfs_paprd_timestamp from struct ath_buf_state
Under high interference/noisy environment conditions where PAPRD frames
fails heavily introduces a possibility of double freeing skb's and causes
kernel panic after some time.This patch reverts back to the original approach
of using paprd_timestamp before freeing the PAPRD frame skb's
[ 194.193705] Pid: 0, comm: swapper Tainted: G D WC
2.6.35-22-generic #33-Ubuntu
[ 194.193712] Call Trace:
[ 194.193722] [<c05c6468>] ? printk+0x2d/0x35
[ 194.193732] [<c05c63c3>] panic+0x5a/0xd2
[ 194.193741] [<c05ca3ed>] oops_end+0xcd/0xd0
[ 194.193750] [<c0105f74>] die+0x54/0x80
[ 194.193758] [<c05c9a16>] do_trap+0x96/0xc0
[ 194.193837] [<c0103fb0>] ? do_invalid_op+0x0/0xa0
[ 194.193846] [<c010403b>] do_invalid_op+0x8b/0xa0
[ 194.193856] [<c020bd4c>] ? kfree+0xec/0xf0
[ 194.193866] [<c012ce18>] ? default_spin_lock_flags+0x8/0x10
[ 194.193877] [<c01de47a>] ? free_one_page+0x12a/0x2d0
[ 194.193888] [<c01e04dc>] ? __free_pages+0x1c/0x40
[ 194.193897] [<c05c97a7>] error_code+0x73/0x78
[ 194.193906] [<c020bd4c>] ? kfree+0xec/0xf0
[ 194.193915] [<c04ecdd0>] ? skb_release_data+0x70/0xa0
[ 194.193924] [<c04ecdd0>] skb_release_data+0x70/0xa0
[ 194.193933] [<c04ec997>] __kfree_skb+0x17/0x90
[ 194.193941] [<c04eca31>] consume_skb+0x21/0x40
[ 194.193964] [<f85e0b70>] ieee80211_tx_status+0x760/0x860 [mac80211]
[ 194.193979] [<f85caddf>] ath_tx_complete_buf+0x1bf/0x2c0 [ath9k]
[ 194.193988] [<c05c8b9f>] ? _raw_spin_lock_irqsave+0x2f/0x50
[ 194.193997] [<c04ec40e>] ? skb_queue_tail+0x3e/0x50
[ 194.194010] [<f85cc803>] ath_tx_complete_aggr+0x823/0x940 [ath9k]
[ 194.194021] [<c0108a28>] ? sched_clock+0x8/0x10
[ 194.194030] [<c016bf14>] ? sched_clock_local+0xa4/0x180
[ 194.194040] [<c0139f57>] ? enqueue_sleeper+0x1e7/0x2b0
[ 194.194051] [<c013a194>] ? enqueue_entity+0x174/0x200
[ 194.194064] [<f85ce83d>] ath_tx_edma_tasklet+0x2bd/0x3b0 [ath9k]
[ 194.194074] [<c05c8b9f>] ? _raw_spin_lock_irqsave+0x2f/0x50
[ 194.194088] [<f85c7b9f>] ath9k_tasklet+0x9f/0x190 [ath9k]
[ 194.194097] [<c01505d7>] tasklet_action+0xa7/0xb0
[ 194.194107] [<c015127c>] __do_softirq+0x9c/0x1b0
[ 194.194117] [<c01a7f64>] ? irq_to_desc+0x14/0x20
[ 194.194126] [<c0124fc4>] ? ack_apic_level+0x64/0x1f0
[ 194.194136] [<c01513d5>] do_softirq+0x45/0x50
[ 194.194145] [<c0151545>] irq_exit+0x65/0x70
[ 194.194153] [<c05cf665>] do_IRQ+0x55/0xc0
[ 194.194162] [<c016a6c7>] ? hrtimer_start+0x27/0x30
[ 194.194171] [<c0103630>] common_interrupt+0x30/0x38
[ 194.194181] [<c012c21a>] ? native_safe_halt+0xa/0x10
[ 194.194268] [<c010a2f9>] default_idle+0x49/0xb0
[ 194.194277] [<c0101fcc>] cpu_idle+0x8c/0xd0
[ 194.194286] [<c05b2431>] rest_init+0x71/0x80
[ 194.194295] [<c081981a>] start_kernel+0x36e/0x374
[ 194.194305] [<c08199dd>] ? pass_all_bootoptions+0x0/0xa
[ 194.194314] [<c08190d7>] i386_start_kernel+0xd7/0xdf
[ 194.194364] panic occurred, switching back to text console
Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-02-04 16:11:39 -05:00
..
2010-10-24 13:41:39 -07:00
2010-07-18 15:07:15 -07:00
2011-01-06 11:12:01 -08:00
2010-12-26 22:37:05 -08:00
2010-12-16 14:43:15 -08:00
2011-01-04 11:57:25 -08:00
2010-12-21 02:16:10 -08:00
2010-12-25 19:16:03 -08:00
2011-01-09 15:47:47 -08:00
2010-12-17 12:27:22 -08:00
2011-01-03 10:31:58 +00:00
2010-12-22 15:25:40 -08:00
2011-01-07 16:58:04 -08:00
2010-12-06 13:24:47 -08:00
2010-12-21 02:16:10 -08:00
2010-12-16 13:16:04 -08:00
2010-12-21 02:16:10 -08:00
2011-01-09 23:44:10 -08:00
2011-01-09 23:44:09 -08:00
2011-01-04 11:57:25 -08:00
2010-12-17 12:27:22 -08:00
2010-09-06 18:29:17 -07:00
2011-01-09 15:45:48 -08:00
2011-01-07 16:58:04 -08:00
2010-12-24 21:36:51 -08:00
2010-12-24 21:38:47 -08:00
2011-01-03 13:27:38 -08:00
2010-12-16 14:43:15 -08:00
2011-01-09 23:44:12 -08:00
2010-12-24 21:45:42 -08:00
2010-05-10 05:01:31 -07:00
2010-12-02 12:10:56 -08:00
2010-12-16 14:43:15 -08:00
2011-01-03 11:56:18 -08:00
2010-07-18 19:15:25 -07:00
2010-12-08 13:47:38 -08:00
2010-12-21 02:16:10 -08:00
2010-12-17 12:27:22 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-21 12:17:29 -08:00
2011-01-04 11:57:25 -08:00
2010-12-21 10:53:19 -08:00
2010-11-24 13:11:18 -05:00
2010-12-21 02:16:10 -08:00
2010-12-21 02:16:10 -08:00
2010-12-31 11:11:38 -08:00
2010-12-21 02:16:10 -08:00
2010-12-28 13:56:14 -08:00
2010-12-26 22:37:05 -08:00
2011-01-07 13:16:28 -08:00
2011-02-04 16:11:39 -05:00
2010-11-18 10:47:42 -08:00
2010-12-21 02:16:08 -08:00
2009-09-01 01:13:50 -07:00
2010-12-21 02:16:08 -08:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-05-14 00:19:28 -07:00
2010-11-09 09:17:56 -08:00
2010-10-19 02:32:09 -07:00
2010-12-21 02:16:08 -08:00
2010-06-03 03:18:23 -07:00
2010-05-14 00:19:28 -07:00
2010-11-17 12:21:14 -08:00
2010-12-12 16:45:14 +01: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-11-09 09:17:56 -08:00
2010-05-18 23:01:55 -07:00
2010-07-11 18:15:08 -07:00
2010-09-02 19:06:22 -07:00
2010-04-01 18:38:33 -07:00
2010-10-21 01:26:52 -07:00
2010-08-21 23:09:36 -07: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-12-21 02:16:08 -08:00
2010-11-09 09:17:56 -08:00
2010-10-24 13:41:39 -07:00
2010-12-11 12:01:48 -08:00
2010-09-09 21:36:39 -07:00
2010-11-17 10:37:52 -08:00
2010-12-01 11:11:31 -08:00
2010-12-12 16:45:14 +01:00
2010-08-24 12:24:07 -07:00
2010-10-25 04:54:25 -04:00
2010-10-25 04:54:25 -04:00
2010-09-26 18:34:29 -07:00
2010-12-31 11:04:02 -08:00
2010-11-28 10:47:19 -08:00
2010-09-26 18:34:29 -07:00
2011-01-06 11:50:30 -08:00
2011-01-06 11:50:30 -08:00
2010-12-23 11:44:34 -08:00
2011-01-03 19:08:07 -08:00
2011-01-06 11:27:22 -08:00
2010-12-23 11:44:34 -08:00
2010-09-02 19:06:22 -07:00
2010-07-19 13:32:57 -07:00
2010-07-14 13:40:36 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:31 -07:00
2010-09-24 07:40:29 -07:00
2010-05-10 05:01:31 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-09-26 18:34:29 -07:00
2011-01-03 13:27:38 -08:00
2010-08-25 15:35:43 -07:00
2010-01-07 23:54:26 -08:00
2010-11-17 10:37:52 -08:00
2009-11-11 19:22:21 -08:00
2010-10-16 11:13:20 -07:00
2010-09-29 13:23:30 -07:00
2010-09-26 18:34:29 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-05-10 05:01:31 -07:00
2010-12-25 19:37:49 -08:00
2010-09-16 21:54:59 -07:00
2010-05-14 00:19:28 -07:00
2010-09-26 18:34:29 -07:00
2010-11-28 11:16:38 -08:00
2010-05-14 00:19:28 -07:00
2010-08-25 15:35:43 -07:00
2010-08-06 09:25:50 -06:00
2010-11-16 11:39:08 -08:00
2011-01-09 15:42:56 -08:00
2011-01-09 15:42:56 -08:00
2011-01-09 16:20:29 -08:00
2010-09-26 18:34:29 -07:00
2010-06-03 03:18:23 -07:00
2010-11-12 14:05:43 -08:00
2010-03-30 22:02:32 +09:00
2010-12-21 02:16:08 -08:00
2010-08-06 09:25:50 -06:00
2010-09-02 19:06:22 -07:00
2010-08-06 09:25:50 -06:00
2010-12-25 19:37:49 -08:00
2010-09-26 18:34:29 -07:00
2010-05-14 00:19:28 -07:00
2010-12-21 02:16:08 -08:00
2010-03-30 22:02:32 +09:00
2010-08-30 13:50:45 -07:00
2010-10-24 13:41:39 -07:00
2010-12-10 15:55:24 -08:00
2010-09-06 18:21:56 -07:00
2011-01-03 12:43:10 -08:00
2010-08-25 15:35:43 -07:00
2010-11-18 10:45:24 -08:00
2010-03-30 23:42:26 -07:00
2010-12-12 16:45:14 +01:00
2010-07-12 20:21:44 -07:00
2010-12-21 02:16:08 -08:00
2010-10-21 03:52:11 -07:00
2011-01-09 15:42:56 -08:00
2010-06-02 06:12:19 -07:00
2010-07-27 22:24:37 -07:00
2010-04-11 14:53:53 -07:00
2010-11-08 13:50:06 -08:00
2010-05-05 21:27:44 -07:00
2011-01-03 13:27:37 -08:00
2010-11-09 09:17:56 -08:00
2010-03-30 22:02:32 +09:00
2010-11-17 10:37:52 -08:00
2010-11-09 09:17:56 -08:00
2011-01-03 12:07:39 -08:00
2010-09-01 08:55:23 -06:00
2010-05-26 20:44:30 -07:00
2010-05-14 00:19:28 -07:00
2010-10-05 14:47:55 -07:00
2010-09-26 18:34:29 -07:00
2010-07-05 19:41:18 -07:00
2010-08-25 15:35:43 -07:00
2010-10-25 12:14:11 -07:00
2010-06-02 17:50:38 +10:00
2010-05-10 05:01:31 -07:00
2010-07-12 20:21:44 -07:00
2010-11-22 08:24:29 -08:00
2010-12-16 14:43:14 -08:00
2010-11-24 13:11:18 -05:00
2009-10-12 23:59:08 -07:00
2010-09-26 18:34:29 -07:00
2009-09-03 20:02:11 -07:00
2010-06-21 13:40:25 -07:00
2010-12-12 16:45:14 +01:00
2010-03-30 22:02:32 +09:00
2010-09-26 18:34:29 -07:00
2010-08-06 09:25:50 -06:00
2010-08-25 15:35:43 -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-11-17 10:37:52 -08:00
2010-07-05 20:08:05 -07:00
2011-01-06 11:30:23 -08:00
2010-05-10 05:01:31 -07:00
2010-12-21 02:16:08 -08:00
2010-12-21 02:16:08 -08:00
2010-05-14 00:19:28 -07:00
2010-12-16 14:43:15 -08:00
2010-06-28 12:41:33 -07:00
2010-10-18 01:53:35 -07:00
2010-08-17 02:31:15 -07:00
2010-09-02 19:06:22 -07:00
2010-10-24 13:41:39 -07:00
2010-09-26 18:34:29 -07:00
2010-09-15 22:06:05 -07:00
2010-10-12 17:36:09 +02:00
2009-12-03 13:18:01 -08:00
2011-01-04 11:57:25 -08:00
2009-12-03 13:18:01 -08:00
2010-08-04 21:53:17 -07:00
2010-12-12 15:06:16 -08:00
2010-09-21 18:04:47 -07:00
2010-12-12 22:08:17 -08:00
2010-10-24 13:41:39 -07:00
2009-12-02 00:52:31 -08:00
2010-09-26 18:34:29 -07:00
2010-06-03 03:18:23 -07:00
2010-12-12 16:45:14 +01:00
2010-11-17 10:36:51 -08:00
2010-04-13 02:54:17 -07:00
2011-01-06 11:18:07 -08:00
2011-01-09 18:15:08 -08:00
2010-09-26 18:54:33 -07:00
2010-08-25 15:35:43 -07:00
2009-09-01 01:14:07 -07:00
2010-07-15 20:46:22 -07:00
2010-12-12 16:45:14 +01:00
2010-12-11 11:46:36 -08:00
2010-05-10 05:01:31 -07:00
2010-10-27 12:23:20 -07:00
2010-10-24 13:41:39 -07:00
2010-12-06 12:59:04 -08:00
2010-05-14 00:19:28 -07:00
2010-10-26 10:02:13 -07:00
2010-12-12 16:45:14 +01:00
2010-12-12 16:45:14 +01:00
2010-12-12 16:45:14 +01:00
2010-09-26 18:34:29 -07:00
2010-12-31 12:50:18 -08:00
2010-05-15 23:29:31 -07:00
2011-01-09 15:54:15 -08:00
2011-01-09 15:54:15 -08:00
2010-10-24 16:25:39 -07:00
2010-09-26 18:34:29 -07:00
2010-08-27 19:25:59 -07:00
2010-10-07 14:08:54 +01:00
2010-07-26 09:06:04 -04: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-12-21 02:16:08 -08:00
2010-10-27 17:28:58 +01:00
2010-11-05 15:25:48 -07:00
2010-07-18 19:15:25 -07:00
2010-03-30 22:02:32 +09:00
2010-05-10 05:01:31 -07:00
2011-01-03 11:06:35 -08:00
2010-09-02 19:06:22 -07:00
2010-12-31 12:33:17 -08:00
2010-05-14 00:19:28 -07:00
2010-07-05 19:41:11 -07:00
2010-09-26 18:34:29 -07:00
2010-08-25 15:35:43 -07:00
2010-08-06 09:25:50 -06:00
2010-12-26 22:37:05 -08:00
2010-09-26 18:34:29 -07:00
2010-12-16 14:43:15 -08:00
2009-12-03 13:18:01 -08:00
2010-12-16 14:43:15 -08:00
2010-08-06 09:25:50 -06:00
2010-12-10 15:55:24 -08:00
2010-09-26 18:34:29 -07:00
2010-08-06 09:25:50 -06:00
2010-08-19 00:04:34 -07:00
2010-09-26 18:34:29 -07:00
2010-12-17 10:17:12 -08:00
2010-08-19 17:19:05 -07:00
2011-01-04 11:57:25 -08:00
2010-12-06 11:03:48 -08:00
2010-10-24 13:41:39 -07:00
2010-09-26 18:34:29 -07:00
2010-09-26 18:34:29 -07:00
2010-12-16 14:43:14 -08:00
2010-12-20 10:43:02 -08:00
2010-06-03 03:18:23 -07:00
2010-03-30 22:02:32 +09:00
2010-11-12 12:21:18 -08:00
2010-11-28 18:36:57 -08:00
2010-12-16 14:41:35 -08:00
2010-12-08 10:23:36 -08:00
2010-10-21 01:26:52 -07:00
2010-10-16 11:13:23 -07:00
2010-12-16 14:43:14 -08:00
2010-12-21 02:16:08 -08:00
2011-01-09 23:35:34 -08:00
2010-12-06 13:24:47 -08:00
2010-07-12 20:21:45 -07:00
2010-12-25 19:37:49 -08:00
2010-11-09 09:17:56 -08:00
2010-05-18 23:01:55 -07:00