Commit:     22124c9999f00340b062fff740db30187bf18454
Parent:     3305a6bc2c4dbd8f7fde1b9941ccb260bc6355c2
Author:     Fernando Luis Vázquez Cao <[EMAIL PROTECTED]>
AuthorDate: Thu Oct 18 23:39:14 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Fri Oct 19 11:53:33 2007 -0700

    kmap leak fix for x86_32 kdump
    copy_oldmem_page should not return leaving a page frame from the
    previous kernel mapped.
    Signed-off-by: Fernando Luis Vázquez Cao <[EMAIL PROTECTED]>
    Acked-by: Vivek Goyal <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/x86/kernel/crash_dump_32.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/x86/kernel/crash_dump_32.c b/arch/x86/kernel/crash_dump_32.c
index 32e75d0..72d0c56 100644
--- a/arch/x86/kernel/crash_dump_32.c
+++ b/arch/x86/kernel/crash_dump_32.c
@@ -47,6 +47,7 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
                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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to