linux/arch/mips/cavium-octeon
Aaro Koskinen c0fae7e245
MIPS: OCTEON: fix out of bounds array access on CN68XX
The maximum number of interfaces is returned by
cvmx_helper_get_number_of_interfaces(), and the value is used to access
interface_port_count[]. When CN68XX support was added, we forgot
to increase the array size. Fix that.

Fixes: 2c8c3f0201 ("MIPS: Octeon: Support additional interfaces on CN68XX")
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Patchwork: https://patchwork.linux-mips.org/patch/20949/
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Cc: stable@vger.kernel.org # v4.3+
2018-11-05 10:03:35 -08:00
..
crypto crypto: shash - remove useless setting of type flags 2018-07-09 00:30:24 +08:00
executive MIPS: OCTEON: fix out of bounds array access on CN68XX 2018-11-05 10:03:35 -08:00
Kconfig swiotlb: move the SWIOTLB config symbol to lib/Kconfig 2018-05-09 06:58:01 +02:00
Makefile MIPS: OCTEON: Platform support for OCTEON III USB controller 2017-02-14 08:52:46 +00:00
Platform MIPS: Octeon: Remove vestiges of CONFIG_CAVIUM_OCTEON_2ND_KERNEL 2017-04-10 11:56:05 +02:00
cpu.c MIPS: Add missing include files 2017-03-08 10:38:06 +01:00
csrc-octeon.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
dma-octeon.c mm: remove include/linux/bootmem.h 2018-10-31 08:54:16 -07:00
flash_setup.c MIPS: Octeon: Don't set .owner. 2015-04-08 01:10:53 +02:00
oct_ilm.c MIPS: Octeon: remove unnecessary null test before debugfs_remove_recursive 2014-08-02 00:06:47 +02:00
octeon-irq.c MIPS: Convert to using %pOFn instead of device_node.name 2018-08-28 09:53:24 -07:00
octeon-memcpy.S mips: get rid of tail-zeroing in primitives 2017-04-06 02:08:08 -04:00
octeon-platform.c MIPS: Octeon: add missing of_node_put() 2018-07-27 19:45:15 -07:00
octeon-usb.c MIPS: OCTEON: Fix USB platform code breakage. 2017-08-07 11:59:53 +02:00
octeon_boot.h MIPS: Octeon: Handle bootloader structures in little-endian mode. 2015-04-01 17:21:23 +02:00
setup.c MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y 2018-09-26 11:46:34 -07:00
smp.c MIPS: kexec: Make a framework for both jumping and halting on nonboot CPUs 2018-09-22 10:31:50 -07:00