linux/arch/mips/cavium-octeon
Aaro Koskinen d70d2e3c4a MIPS: OCTEON: fix out of bounds array access on CN68XX
commit c0fae7e245 upstream.

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+
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-11-13 11:15:10 -08:00
..
crypto License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
executive MIPS: OCTEON: fix out of bounds array access on CN68XX 2018-11-13 11:15:10 -08:00
cpu.c
csrc-octeon.c
dma-octeon.c
flash_setup.c
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile
oct_ilm.c
octeon_boot.h
octeon-irq.c MIPS: Octeon: Fix logging messages with spurious periods after newlines 2018-05-30 07:52:39 +02:00
octeon-memcpy.S
octeon-platform.c MIPS: Octeon: add missing of_node_put() 2018-09-19 22:43:43 +02:00
octeon-usb.c MIPS: OCTEON: Fix USB platform code breakage. 2017-08-07 11:59:53 +02:00
Platform
setup.c
smp.c MIPS: SMP: Allow boot_secondary SMP op to return errors 2017-08-30 00:57:27 +02:00