On 2026-10-15T11:13:15, Bin Meng <[email protected]> wrote:
> virtio: 9p: Reset the device before releasing its queues
>
> The 9P remove callback frees virtqueues while the device can still
> access them, then resets the device. Outstanding requests can therefore
> race with freeing the ring memory.
>
> Use the common reset helper, which waits for the device to stop before
> releasing its queues.
>
> Signed-off-by: Bin Meng <[email protected]>
>
> drivers/virtio/virtio_9p.c | 8 +-------
>  1 file changed, 1 insertion(+), 7 deletions(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to