diff options
author | Raju Rangoju <[email protected]> | 2020-09-16 21:50:39 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-09-17 16:29:20 -0700 |
commit | f4a26a9b311d7ff9db461278faf2869d06496ef8 (patch) | |
tree | 6541e23916fb3f94b64f518fe7fb540cca7c0126 /lib/mpi/mpiutil.c | |
parent | 44144185951a0ff9b50bf21c0cd1f79ff688e5ca (diff) |
cxgb4: fix memory leak during module unload
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions