linux/kernel/irq
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
..
Makefile
autoprobe.c async: Asynchronous function calls to speed up kernel boot 2009-01-07 08:45:46 -08:00
chip.c cpumask: update irq_desc to use cpumask_var_t 2009-01-11 19:12:46 +01:00
devres.c
handle.c cpumask: fix bug in use cpumask_var_t in irq_desc 2009-01-11 19:13:02 +01:00
internals.h
manage.c cpumask: update irq_desc to use cpumask_var_t 2009-01-11 19:12:46 +01:00
migration.c cpumask: update irq_desc to use cpumask_var_t 2009-01-11 19:12:46 +01:00
numa_migrate.c cpumask: fix bug in use cpumask_var_t in irq_desc 2009-01-11 19:13:02 +01:00
proc.c cpumask: update irq_desc to use cpumask_var_t 2009-01-11 19:12:46 +01:00
resend.c
spurious.c