Re: [PATCH net-next] cxgb4: fix memory leak

2017-09-05 Thread David Miller
From: Ganesh Goudar Date: Mon, 4 Sep 2017 11:16:28 +0530 > do not reuse the loop counter which is used iterate over > the ports, so that sched_tbl will be freed for all the ports. > > Signed-off-by: Ganesh Goudar Applied.

[PATCH net-next] cxgb4: fix memory leak

2017-09-03 Thread Ganesh Goudar
do not reuse the loop counter which is used iterate over the ports, so that sched_tbl will be freed for all the ports. Signed-off-by: Ganesh Goudar --- drivers/net/ethernet/chelsio/cxgb4/sched.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/chelsi

Re: [PATCH net-next] cxgb4: fix memory leak in init_one()

2017-06-09 Thread David Miller
From: Ganesh Goudar Date: Fri, 9 Jun 2017 19:26:24 +0530 > Free up mbox_log allocated for PF0 to PF3. > > Fixes: 7829451c695e ("cxgb4: Add control net_device for configuring PCIe VF") > Signed-off-by: Ganesh Goudar Applied, thank you.

[PATCH net-next] cxgb4: fix memory leak in init_one()

2017-06-09 Thread Ganesh Goudar
Free up mbox_log allocated for PF0 to PF3. Fixes: 7829451c695e ("cxgb4: Add control net_device for configuring PCIe VF") Signed-off-by: Ganesh Goudar --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/