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

2015-03-27 Thread Thomas Monjalon
> > eth_driver already contains rte_pci_driver data structure. > > Allocating rte_pci_driver without referencing it after bond > > creation causes memory leakage. > > > > Added signed off information. > > > > Signed-off-by: Jia Yu > > Acked-by: Declan Doherty Applied, thanks

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

2015-03-26 Thread Declan Doherty
On 23/03/15 21:53, Jia Yu wrote: > eth_driver already contains rte_pci_driver data structure. > Allocating rte_pci_driver without referencing it after bond > creation causes memory leakage. > > Added signed off information. > > Signed-off-by: Jia Yu > --- > lib/librte_pmd_bond/rte_eth_bond_api.c

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

2015-03-23 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. Added signed off information. Signed-off-by: Jia Yu --- lib/librte_pmd_bond/rte_eth_bond_api.c | 11 ++- 1 file changed, 2 insertions(+)