Commit:     65e5c0262169a92bdec71a8bb9edb32dab2d8d1f
Parent:     6bdd61d876e6eacea5c59230b6b2d988b22793e6
Author:     Akinobu Mita <[EMAIL PROTECTED]>
AuthorDate: Mon Feb 5 16:21:09 2007 -0800
Committer:  Roland Dreier <[EMAIL PROTECTED]>
CommitDate: Sat Feb 10 08:00:49 2007 -0800

    IB/ehca: Fix memleak on module unloading
    Percpu data is not freed on module unloading.
    Cc: Heiko Carstens <[EMAIL PROTECTED]>
    Cc: Christoph Raisch <[EMAIL PROTECTED]>
    Signed-off-by: Akinobu Mita <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Acked-by: Hoang-Nam Nguyen <[EMAIL PROTECTED]>
    Signed-off-by: Roland Dreier <[EMAIL PROTECTED]>
 drivers/infiniband/hw/ehca/ehca_irq.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c 
index c069be8..6c4f9f9 100644
--- a/drivers/infiniband/hw/ehca/ehca_irq.c
+++ b/drivers/infiniband/hw/ehca/ehca_irq.c
@@ -756,6 +756,8 @@ void ehca_destroy_comp_pool(void)
                if (cpu_online(i))
                        destroy_comp_task(pool, i);
+       free_percpu(pool->cpu_comp_tasks);
+       kfree(pool);
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