]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
remove patch from 4.4 tree for megaraid
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Sep 2016 08:15:18 +0000 (10:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 10 Sep 2016 08:15:18 +0000 (10:15 +0200)
queue-4.4/0062-megaraid-Fix-possible-NULL-pointer-deference-in-mrai.patch [deleted file]
queue-4.4/series

diff --git a/queue-4.4/0062-megaraid-Fix-possible-NULL-pointer-deference-in-mrai.patch b/queue-4.4/0062-megaraid-Fix-possible-NULL-pointer-deference-in-mrai.patch
deleted file mode 100644 (file)
index ca1e621..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 301709c17bc50faa7f2c77797e454f3286d8ba39 Mon Sep 17 00:00:00 2001
-From: Nicholas Krause <xerofoify@gmail.com>
-Date: Tue, 5 Jan 2016 14:32:54 -0500
-Subject: [PATCH 062/135] megaraid: Fix possible NULL pointer deference in
- mraid_mm_ioctl
-
-[ Upstream commit 7296f62f0322d808362b21064deb34f20799c20d ]
-
-This adds the needed check after the call to the function
-mraid_mm_alloc_kioc in order to make sure that this function has not
-returned NULL and therefore makes sure we do not deference a NULL
-pointer if one is returned by mraid_mm_alloc_kioc.  Further more add
-needed comments explaining that this function call can return NULL if
-the list head is empty for the pointer passed in order to allow furture
-users to understand this required pointer check.
-
-Signed-off-by: Nicholas Krause <xerofoify@gmail.com>
-Acked-by: Sumit Saxena <sumit.saxena@avagotech.com>
-Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
-Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/scsi/megaraid/megaraid_mm.c |    4 ++++
- 1 file changed, 4 insertions(+)
-
---- a/drivers/scsi/megaraid/megaraid_mm.c
-+++ b/drivers/scsi/megaraid/megaraid_mm.c
-@@ -179,8 +179,12 @@ mraid_mm_ioctl(struct file *filep, unsig
-       /*
-        * The following call will block till a kioc is available
-+       * or return NULL if the list head is empty for the pointer
-+       * of type mraid_mmapt passed to mraid_mm_alloc_kioc
-        */
-       kioc = mraid_mm_alloc_kioc(adp);
-+      if (!kioc)
-+              return -ENXIO;
-       /*
-        * User sent the old mimd_t ioctl packet. Convert it to uioc_t.
index 758f7808c85242b9c936f0e1e9c066aec21ce13e..8c0d28d92f56f3c6ef2268d9ab39ad098bbfeb8b 100644 (file)
@@ -57,7 +57,6 @@
 0059-s390-cio-fix-measurement-characteristics-memleak.patch
 0060-s390-cio-ensure-consistent-measurement-state.patch
 0061-s390-cio-update-measurement-characteristics.patch
-0062-megaraid-Fix-possible-NULL-pointer-deference-in-mrai.patch
 0063-megaraid_sas-Do-not-allow-PCI-access-during-OCR.patch
 0064-megaraid_sas-Fix-SMAP-issue.patch
 0065-megaraid_sas-Add-an-i-o-barrier.patch