[dpdk-dev] [PATCH] librte_pmd_bond: remove memory alloc for rte_pci_driver

2015-03-26 Thread Declan Doherty
On 23/03/15 11:31, Thomas Monjalon wrote: > Declan, > Any comment? > > 2015-03-12 14:38, Jia Yu: >> eth_driver already contains rte_pci_driver data structure. >> Allocating rte_pci_driver without referencing it after bond >> creation causes memory leakage. > > Jia, Signed-off is missing. > Hey Tho

[dpdk-dev] [PATCH] librte_pmd_bond: remove memory alloc for rte_pci_driver

2015-03-23 Thread Thomas Monjalon
Declan, Any comment? 2015-03-12 14:38, Jia Yu: > eth_driver already contains rte_pci_driver data structure. > Allocating rte_pci_driver without referencing it after bond > creation causes memory leakage. Jia, Signed-off is missing.

[dpdk-dev] [PATCH] librte_pmd_bond: remove memory alloc for rte_pci_driver

2015-03-12 Thread Jia Yu
eth_driver already contains rte_pci_driver data structure. Allocating rte_pci_driver without referencing it after bond creation causes memory leakage. --- lib/librte_pmd_bond/rte_eth_bond_api.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/lib/librte_pmd_bond/rte_