Re: [PATCH] liquidio: add cleanup in octeon_setup_iq()

From: David Miller
Date: Thu Aug 15 2019 - 15:37:57 EST


From: Wenwen Wang <wenwen@xxxxxxxxxx>
Date: Wed, 14 Aug 2019 00:14:49 -0500

> If oct->fn_list.enable_io_queues() fails, no cleanup is executed, leading
> to memory/resource leaks. To fix this issue, invoke
> octeon_delete_instr_queue() before returning from the function.
>
> Signed-off-by: Wenwen Wang <wenwen@xxxxxxxxxx>

Applied.