Skip to content

virtio: rng: Handle oversized return buffers

Meet Patel u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 3 repliesIn review

Changes in v2 from the cover letter

- Avoid filling whole buffer just to overwrite in next line.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2test: dm: virtio_rng: Update virtio-rng testtest/dm/virtio_rng.c+12 -21 reply
2/2virtio: rng: Handle oversized return buffersdrivers/virtio/virtio_rng.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndre Przywara
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] virtio: rng: Handle oversized return buffers

The virtio-rng test to verify effective handling of oversized return buffers checks that an (undocumented) error is raised, instead of the real concern, which is the surrounding buffer integrity following a rng function call.
Update the test to check that the other contents of a buffer remain unchanged instead of looking for an error code.

Changes in v2:
- Avoid filling whole buffer just to overwrite in next line.

Kavin Gunasekara (2):
test: dm: virtio_rng: Update virtio-rng test
virtio: rng: Handle oversized return buffers

 drivers/virtio/virtio_rng.c |  2 +-
 test/dm/virtio_rng.c        | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)
Signature · 1 line
2.53.0