Re: [PATCH net] cxgb4: fix memory leak during module unload

2020-09-17 Thread David Miller
From: Raju Rangoju Date: Wed, 16 Sep 2020 21:50:39 +0530 > Fix the memory leak in mps during module unload > path by freeing mps reference entries if the list > adpter->mps_ref is not already empty > > Fixes: 28b3870578ef ("cxgb4: Re-work the logic for mps refcounting") > Signed-off-by: Raju Ran

[PATCH net] cxgb4: fix memory leak during module unload

2020-09-16 Thread Raju Rangoju
Fix the memory leak in mps during module unload path by freeing mps reference entries if the list adpter->mps_ref is not already empty Fixes: 28b3870578ef ("cxgb4: Re-work the logic for mps refcounting") Signed-off-by: Raju Rangoju --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_mps.c | 2 +- 1 fil