Martin Povišer
d9503be5a1
dmaengine: apple-admac: Fix 'current_tx' not getting freed
...
In terminate_all we should queue up all submitted descriptors to be
freed. We do that for the content of the 'issued' and 'submitted' lists,
but the 'current_tx' descriptor falls through the cracks as it's
removed from the 'issued' list once it gets assigned to be the current
descriptor. Explicitly queue up freeing of the 'current_tx' descriptor
to address a memory leak that is otherwise present.
Fixes: b127315d9a78 ("dmaengine: apple-admac: Add Apple ADMAC driver")
Signed-off-by: Martin Povišer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/20230224152222.26732-2-povik+lin@cutebit.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-03-31 18:17:21 +05:30
..
2022-06-10 14:51:35 +02:00
2023-02-16 18:45:48 +05:30
2023-02-24 17:18:54 -08:00
2023-02-22 13:46:04 -06:00
2022-03-11 15:47:39 +05:30
2022-09-04 22:49:35 +05:30
2023-02-24 17:18:54 -08:00
2022-10-19 18:56:57 +05:30
2021-07-13 14:38:47 -05:00
2023-01-18 15:32:16 +05:30
2023-01-18 22:16:47 +05:30
2023-01-18 17:43:47 +05:30
2023-02-24 17:18:54 -08:00
2023-02-24 17:18:54 -08:00
2023-02-16 18:45:48 +05:30
2023-01-18 22:16:47 +05:30
2023-02-24 17:18:54 -08:00
2023-03-17 23:23:07 +05:30
2021-08-06 21:48:11 +05:30
2022-07-06 22:00:06 +05:30
2022-09-29 12:24:16 +05:30
2023-03-31 18:17:21 +05:30
2022-11-11 12:15:09 +05:30
2023-01-18 22:14:22 +05:30
2023-01-18 22:16:47 +05:30
2022-06-10 14:51:35 +02:00
2023-01-18 22:16:47 +05:30
2022-10-19 19:13:16 +05:30
2023-03-17 23:13:42 +05:30
2021-10-25 09:42:56 +05:30
2022-10-11 17:42:58 -06:00
2022-07-01 21:50:23 +05:30
2020-10-05 09:59:17 +05:30
2015-04-02 16:10:27 +05:30
2022-07-01 22:09:16 +05:30
2021-10-28 22:56:24 +05:30
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2021-01-12 18:00:39 +05:30
2020-08-29 13:50:56 -07:00
2022-09-04 22:42:35 +05:30
2023-02-16 18:45:48 +05:30
2019-06-19 17:09:55 +02:00
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2023-02-24 17:18:54 -08:00
2021-04-12 17:14:53 +05:30
2023-02-24 17:18:54 -08:00
2019-06-19 17:09:55 +02:00
2023-01-16 09:26:06 +01:00
2023-01-18 22:16:47 +05:30
2021-10-25 12:12:13 +05:30
2020-12-29 10:08:00 +05:30
2023-01-18 22:16:47 +05:30
2023-02-24 17:18:54 -08:00
2023-01-18 22:16:47 +05:30
2021-07-14 11:05:55 -05:00
2023-01-18 22:16:47 +05:30
2020-11-24 23:02:20 +05:30
2019-06-05 17:36:37 +02:00
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2021-07-28 12:54:50 +05:30
2022-07-06 10:50:43 +05:30
2022-01-08 22:16:44 +05:30
2022-09-05 12:01:54 +05:30
2022-04-20 15:59:33 +05:30
2023-01-18 22:16:47 +05:30
2021-10-26 10:55:07 +05:30
2022-07-26 18:20:49 +05:30
2021-12-13 13:18:48 +05:30
2019-05-30 11:26:32 -07:00
2019-05-30 11:29:22 -07:00
2019-05-30 11:29:22 -07:00
2022-07-06 10:54:08 +05:30
2022-11-08 10:43:56 +05:30
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2023-01-18 22:16:47 +05:30
2021-12-17 11:23:38 +05:30
2023-01-18 22:18:38 +05:30
2023-02-24 17:18:54 -08:00
2020-09-18 12:19:07 +05:30
2014-07-15 22:14:30 +05:30
2020-09-18 12:19:07 +05:30
2019-06-19 17:09:55 +02:00
2020-02-13 20:15:57 +05:30
2022-01-03 17:49:37 +05:30
2020-09-18 12:19:07 +05:30
2019-12-26 10:04:18 +05:30
2020-09-18 12:19:07 +05:30