The patch titled
     kmap leak fix for x86_32 kdump
has been added to the -mm tree.  Its filename is
     kmap-leak-fix-for-x86_32-kdump.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: kmap leak fix for x86_32 kdump
From: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]>

copy_oldmem_page should not return leaving a page frame from the
previous kernel mapped.

Signed-off-by: Fernando Luis Vazquez Cao <[EMAIL PROTECTED]>
Acked-by: Vivek Goyal <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
---

 arch/x86/kernel/crash_dump_32.c |    1 +
 1 file changed, 1 insertion(+)

diff -puN arch/x86/kernel/crash_dump_32.c~kmap-leak-fix-for-x86_32-kdump 
arch/x86/kernel/crash_dump_32.c
--- a/arch/x86/kernel/crash_dump_32.c~kmap-leak-fix-for-x86_32-kdump
+++ a/arch/x86/kernel/crash_dump_32.c
@@ -47,6 +47,7 @@ ssize_t copy_oldmem_page(unsigned long p
                if (!kdump_buf_page) {
                        printk(KERN_WARNING "Kdump: Kdump buffer page not"
                                " allocated\n");
+                       kunmap_atomic(vaddr, KM_PTE0);
                        return -EFAULT;
                }
                copy_page(kdump_buf_page, vaddr);
_

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

origin.patch
kmap-leak-fix-for-x86_32-kdump.patch
make-smart-battery-system-depend-on-acpi_sbs.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