OSDN Git Service
(root)
/
uclinux-h8
/
linux.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
|
history
diff --git
a/drivers/ntb/ntb_hw.c
b/drivers/ntb/ntb_hw.c
index
2774d35
..
0e8ae70
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);