commit | c282bdba4584c390a8d83d67c3e9ab24ae1f12ab | [log] [tgz] |
---|---|---|
author | Andrew Scull <ascull@google.com> | Mon May 16 10:41:32 2022 +0000 |
committer | Tom Rini <trini@konsulko.com> | Wed Jun 08 09:24:03 2022 -0400 |
tree | a1dc19e6ec49ade2bc1b5a8b592448d037e0b71a | |
parent | 594d2a6fa18883dfd3bc26a6a600da53a09c3e86 [diff] |
virtio_ring: Check used descriptors are chain heads 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@google.com> Reviewed-by: Simon Glass <sjg@chromium.org>