android_kernel_xiaomi_sm8350/arch/powerpc/lib
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
..
checksum_32.S
checksum_64.S
copy_32.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
copypage_64.S
copyuser_64.S
div64.S
dma-noncoherent.c [POWERPC] 8xx: generic 8xx code arch/powerpc port 2007-02-07 14:01:02 +11:00
locks.c [POWERPC] make spinlocks work in a combined kernel 2006-09-20 14:01:16 +10:00
Makefile [POWERPC] 8xx: generic 8xx code arch/powerpc port 2007-02-07 14:01:02 +11:00
mem_64.S
memcpy_64.S [POWERPC] Fix return value from memcpy 2006-08-31 13:22:58 +10:00
rheap.c [POWERPC] Fix array indexing error in rheap grow() 2007-02-07 14:03:19 +11:00
sstep.c [POWERPC] Disallow kprobes on emulate_step and branch_taken 2006-11-01 15:14:12 +11:00
strcase.c
string.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
usercopy_64.c