projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8eee37
)
ntb: Fix leakage of ntb_device::msix_entries[] array
author
Alexander Gordeev
<agordeev@redhat.com>
Fri, 21 Feb 2014 15:49:29 +0000
(16:49 +0100)
committer
Jon Mason
<jon.mason@intel.com>
Mon, 7 Apr 2014 17:58:14 +0000
(10:58 -0700)
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_hw.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/ntb/ntb_hw.c
b/drivers/ntb/ntb_hw.c
index 2774d356b689ad1a42ba8b432834cb09890e62b4..0e8ae70fd918e4799f3c7fd6014ab2f805e223fe 100644
(file)
--- a/
drivers/ntb/ntb_hw.c
+++ b/
drivers/ntb/ntb_hw.c
@@
-1281,6
+1281,7
@@
static void ntb_free_interrupts(struct ntb_device *ndev)
free_irq(msix->vector, &ndev->db_cb[i]);
}
pci_disable_msix(pdev);
+ kfree(ndev->msix_entries);
} else {
free_irq(pdev->irq, ndev);