Re: [PATCH net] net: ena: reset the device before freeing admin queues on restore error

From: Arthur Kiyanovski

Date: Mon Nov 30 2026 - 22:10:21 EST


On Mon, 30 Nov 2026 00:06:33 +0000, Yuho Choi <oss.patchbox@xxxxxxxxx> wrote:
> The ena_restore_device() error path frees the admin queues before it
> resets the device, so the device can still write AENQ events, such as
> the keep-alive, into freed memory. Reset the device first, as
> ena_destroy_device() does.
>
> Fixes: d7703ddbd7c9 ("net: ena: fix rare bug when failed restart/resume is followed by driver removal")
> Signed-off-by: Yuho Choi <oss.patchbox@xxxxxxxxx>

Thanks for the fix.

The issues raised by the Sashiko review are pre-existing and outside the
scope of this change, so there is no need to respin for them.
Should be addressed separately.

Reviewed-by: Arthur Kiyanovski <akiyano@xxxxxxxxxx>

--
Arthur Kiyanovski <akiyano@xxxxxxxxxx>