linux/arch/powerpc
Timur Tabi 4942bd80e8 [POWERPC] Fix array indexing error in rheap grow()
The grow() function in the rheap library allocates a larger array of blocks,
copies the contents of the old blocks array to the newly allocated array and
fixes the list_head pointers after the copy.  At the end, the new blocks must
be enqueued to the empty_list of the rh_info_t structure.  This patch fixes
a bug where the code was indexing past the end of the array when enqueueing
blocks.  The UCC ethernet driver, which uses the rheap allocator, experiences
kernel panics because of this bug.

Signed-off-by: Ionut Nicu <ionut.nicu@freescale.com>
Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2007-02-07 14:03:19 +11:00
..
boot [POWERPC] Add mpc866ads board-specific bits to arch/powerpc 2007-02-07 14:03:17 +11:00
configs [POWERPC] ps3: ps3_defconfig updates 2007-02-07 14:03:19 +11:00
kernel [POWERPC] Remove fastcall function attribute 2007-01-26 01:52:27 -06:00
lib [POWERPC] Fix array indexing error in rheap grow() 2007-02-07 14:03:19 +11:00
math-emu [POWERPC] ppc math-emu needs -fno-builtin-fabs for math.c and fabs.c 2006-09-26 15:24:35 +10:00
mm [POWERPC] 8xx: platform specific mmu updates 2007-02-07 12:00:32 +11:00
oprofile [POWERPC] Fix oprofile support on Cell LPAR 2007-01-24 21:13:59 +11:00
platforms [POWERPC] ps3: get av_multi_out params 2007-02-07 14:03:18 +11:00
sysdev [POWERPC] 8xx: powerpc port of core CPM PIC 2007-02-07 14:03:17 +11:00
xmon [POWERPC] Generic BUG for powerpc 2006-12-11 16:35:07 +11:00
.gitignore [POWERPC] Add files build to .gitignore 2006-12-04 20:41:29 +11:00
Kconfig [POWERPC] 8xx: generic 8xx code arch/powerpc port 2007-02-07 14:01:02 +11:00
Kconfig.debug [POWERPC] Enable stack debug features on ppc32 2007-01-30 00:45:56 -06:00
Makefile [POWERPC] Create a "wrapper" script and use it in arch/powerpc/boot 2006-09-28 14:30:02 +10:00