Raju Rangoju f4a26a9b31 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 <rajur@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-09-17 16:29:20 -07:00
..
2020-08-28 21:17:56 +02:00
2020-09-04 13:19:19 -07:00
2020-08-02 18:26:51 +03:00
2020-08-28 16:38:29 -07:00
2020-08-15 08:18:22 -07:00
2020-09-04 12:12:39 -07:00
2020-07-27 11:49:37 +02:00
2020-09-04 11:59:44 -07:00
2020-08-26 10:44:15 -07:00
2020-08-29 12:37:00 -07:00
2020-08-05 19:24:27 -07:00
2020-09-03 08:22:16 -07:00
2020-08-28 10:15:33 -07:00
2020-08-26 10:50:50 -07:00
2020-08-31 11:22:57 -07:00
2020-09-04 13:04:51 -07:00
2020-08-14 16:00:09 -07:00
2020-09-01 14:12:44 -07:00
2020-09-03 08:22:16 -07:00
2020-08-26 10:58:20 -07:00
2020-08-30 10:51:03 -07:00
2020-08-30 10:56:12 -07:00
2020-08-29 12:44:30 -07:00