[PATCH 04/11] virtio_ring: Check used descriptors are chain heads
Simon Glass
sjg at chromium.org
Mon Apr 11 20:35:18 CEST 2022
On Thu, 31 Mar 2022 at 04:10, Andrew Scull <ascull at google.com> wrote:
>
> When the device returns used buffers, it should refer to the descriptor
> that is the head of the descriptor chain for that buffer. Confirm this
> to be the case by tracking the head of descriptor chains that have been
> made available to the device.
>
> Signed-off-by: Andrew Scull <ascull at google.com>
> ---
> drivers/virtio/virtio_ring.c | 12 ++++++++++++
> include/virtio_ring.h | 2 ++
> 2 files changed, 14 insertions(+)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list