The patch titled
     Fix NULL dereference in umem.c
has been added to the -mm tree.  Its filename is
     fix-null-dereference-in-umemc.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Fix NULL dereference in umem.c
From: Neil Brown <[EMAIL PROTECTED]>

Fix NULL dereference in umem.c

Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
Tested-by: Dave Chinner <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 drivers/block/umem.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/block/umem.c~fix-null-dereference-in-umemc 
drivers/block/umem.c
--- a/drivers/block/umem.c~fix-null-dereference-in-umemc
+++ a/drivers/block/umem.c
@@ -484,7 +484,8 @@ static void process_page(unsigned long d
                page->idx++;
                if (page->idx >= bio->bi_vcnt) {
                        page->bio = bio->bi_next;
-                       page->idx = page->bio->bi_idx;
+                       if (page->bio)
+                               page->idx = page->bio->bi_idx;
                }
 
                pci_unmap_page(card->dev, desc->data_dma_handle,
_

Patches currently in -mm which might be from [EMAIL PROTECTED] are

fix-null-dereference-in-umemc.patch
git-md-accel.patch
git-nfsd.patch
coding-style-cleanups-for-drivers-md-mktablesc.patch
one-less-parameter-to-__d_path.patch
d_path-kerneldoc-cleanup.patch
d_path-use-struct-path-in-struct-avc_audit_data.patch
d_path-make-proc_get_link-use-a-struct-path-argument.patch
d_path-make-get_dcookie-use-a-struct-path-argument.patch
use-struct-path-in-struct-svc_export.patch
use-struct-path-in-struct-svc_export-checkpatch-fixes.patch
use-struct-path-in-struct-svc_expkey.patch
d_path-make-seq_path-use-a-struct-path-argument.patch
d_path-make-d_path-use-a-struct-path.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to