Re: [dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device

2021-09-21 Thread Ferruh Yigit
On 9/15/2021 9:16 AM, Min Hu (Connor) wrote: <...> >>> 在 2021/9/15 13:08, dapengx...@intel.com 写道: From: Dapeng Yu If the bond device was created by vdev mode, the kvlist was not free after the bond device was closed. This patch fixes it. Fixes: 144dc4739

Re: [dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device

2021-09-15 Thread Min Hu (Connor)
Acked-by: Min Hu (Connor) 在 2021/9/15 15:18, Yu, DapengX 写道: -Original Message- From: Min Hu (Connor) Sent: Wednesday, September 15, 2021 2:59 PM To: Yu, DapengX ; Chas Williams Cc: dev@dpdk.org; sta...@dpdk.org Subject: Re: [PATCH] net/bonding: fix memory leak on closing device H

Re: [dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device

2021-09-15 Thread Yu, DapengX
> -Original Message- > From: Min Hu (Connor) > Sent: Wednesday, September 15, 2021 2:59 PM > To: Yu, DapengX ; Chas Williams > Cc: dev@dpdk.org; sta...@dpdk.org > Subject: Re: [PATCH] net/bonding: fix memory leak on closing device > > Hi, dapengx, > Why not free internals->kvlis

Re: [dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device

2021-09-14 Thread Min Hu (Connor)
Hi, dapengx, Why not free internals->kvlist at the end of "bond_ethdev_configure" ? Does it call some bugs? 在 2021/9/15 13:08, dapengx...@intel.com 写道: From: Dapeng Yu If the bond device was created by vdev mode, the kvlist was not free after the bond device was closed. This patch fixes it

[dpdk-dev] [PATCH] net/bonding: fix memory leak on closing device

2021-09-14 Thread dapengx . yu
From: Dapeng Yu If the bond device was created by vdev mode, the kvlist was not free after the bond device was closed. This patch fixes it. Fixes: 144dc4739975 ("net/bonding: fix leak on remove") Cc: sta...@dpdk.org Signed-off-by: Dapeng Yu --- drivers/net/bonding/rte_eth_bond_pmd.c | 5 +++-