]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop mips-octeon-fix-out-of-bounds-array-access-on-cn68xx.patch from 3.18
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2018 17:55:52 +0000 (09:55 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Nov 2018 17:55:52 +0000 (09:55 -0800)
queue-3.18/mips-octeon-fix-out-of-bounds-array-access-on-cn68xx.patch [deleted file]
queue-3.18/series

diff --git a/queue-3.18/mips-octeon-fix-out-of-bounds-array-access-on-cn68xx.patch b/queue-3.18/mips-octeon-fix-out-of-bounds-array-access-on-cn68xx.patch
deleted file mode 100644 (file)
index ce8a089..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-From c0fae7e2452b90c31edd2d25eb3baf0c76b400ca Mon Sep 17 00:00:00 2001
-From: Aaro Koskinen <aaro.koskinen@iki.fi>
-Date: Sat, 27 Oct 2018 01:46:34 +0300
-Subject: MIPS: OCTEON: fix out of bounds array access on CN68XX
-
-From: Aaro Koskinen <aaro.koskinen@iki.fi>
-
-commit c0fae7e2452b90c31edd2d25eb3baf0c76b400ca 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: 2c8c3f0201333 ("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>
-
----
- arch/mips/cavium-octeon/executive/cvmx-helper.c |    2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/arch/mips/cavium-octeon/executive/cvmx-helper.c
-+++ b/arch/mips/cavium-octeon/executive/cvmx-helper.c
-@@ -67,7 +67,7 @@ void (*cvmx_override_pko_queue_priority)
- void (*cvmx_override_ipd_port_setup) (int ipd_port);
- /* Port count per interface */
--static int interface_port_count[5];
-+static int interface_port_count[9];
- /* Port last configured link info index by IPD/PKO port */
- static cvmx_helper_link_info_t
index b84a02f29389a8b8028f081c170e88e9f977bb31..d2265ff57169e8e99163c259bbfba3d6077895bf 100644 (file)
@@ -44,7 +44,6 @@ nfsv4.1-fix-the-r-wsize-checking.patch
 nfsd-fix-an-oops-in-free_session.patch
 lockd-fix-access-beyond-unterminated-strings-in-prints.patch
 dm-ioctl-harden-copy_params-s-copy_from_user-from-malicious-users.patch
-mips-octeon-fix-out-of-bounds-array-access-on-cn68xx.patch
 tc-set-dma-masks-for-devices.patch
 kgdboc-passing-ekgdboc-to-command-line-causes-panic.patch
 media-em28xx-use-a-default-format-if-try_fmt-fails.patch