Files
linux-st/include/linux
Mike Travis 802bf931f2 cpumask: fix bug in use cpumask_var_t in irq_desc
Impact: fix bug where new irq_desc uses old cpumask pointers which are freed.

As Yinghai pointed out, init_copy_one_irq_desc() copies the old desc to
the new desc overwriting the cpumask pointers.  Since the old_desc and
the cpumask pointers are freed, then memory corruption will occur if
these old pointers are used.

Move the allocation of these pointers to after the copy.

Signed-off-by: Mike Travis <travis@sgi.com>
Cc: Yinghai Lu <yinghai@kernel.org>
2009-01-11 19:13:02 +01:00
..
2009-01-06 11:07:54 -08:00
2009-01-08 12:38:58 +00:00
2009-01-09 12:37:15 -08:00
2009-01-07 17:38:32 -05:00
2009-01-06 15:59:29 -08:00
2009-01-04 13:33:20 -08:00
2009-01-08 08:31:10 -08:00
2009-01-02 12:19:34 -08:00
2009-01-06 15:59:01 -08:00
2009-01-07 14:29:17 +01:00
2009-01-06 10:50:09 -08:00
2009-01-08 08:31:00 -08:00
2009-01-05 08:40:30 -08:00
2009-01-03 14:11:07 +01:00
2009-01-08 08:31:07 -08:00
2009-01-07 17:38:31 -05:00
2009-01-08 08:31:05 -08:00
2009-01-08 08:31:12 -08:00
2009-01-06 10:44:30 -08:00
2009-01-06 15:59:12 -08:00
2009-01-05 18:31:12 -08:00
2009-01-04 13:33:20 -08:00
2009-01-07 09:58:22 +11:00
2009-01-08 08:31:10 -08:00
2009-01-07 10:00:14 -08:00
2009-01-06 15:59:09 -08:00