Skip to content

virtio-net fixes

Akihiko Odaki qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected] change-id 20240907-queue-f425937a730f

Versions newest first

  1. v3 Latest6 patches 3 repliesIn review
  2. v26 patches 3 repliesSuperseded
  3. v17 patches 6 repliesSuperseded

Changes in v3 from the cover letter

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6net: checksum: Convert data to void *include/net/checksum.h net/checksum.c+3 -31 reply
2/6virtio-net: Fix size check in dhclient workaroundhw/net/virtio-net.c+4 -10 replies
3/6virtio-net: Do not check for the queue before RSShw/net/virtio-net.c+4 -40 replies
4/6virtio-net: Fix hash reporting when the queue changeshw/net/virtio-net.c+7 -70 replies
5/6virtio-net: Initialize hash reporting valueshw/net/virtio-net.c+2 -01 reply
6/6virtio-net: Copy received header to bufferhw/net/virtio-net.c+46 -390 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéLei Yang
SeriesT-b
1/6R-b
2/6
3/6
4/6
5/6R-b
6/6

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

Read the v3 thread

Cover letter [PATCH v3 0/6] virtio-net fixes

Most of this series are fixes for software RSS and hash reporting, which should have no production user.

However there is one exception; patch "virtio-net: Fix size check in dhclient workaround" fixes an out-of-bound access that can be triggered for anyone who don't use vhost. It has Cc: [email protected] and can be applied independently.

---
Changes in v3:
- Rebased.
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Dropped patch "virtio-net: Fix num_buffers for version 1" in favor of fixing the spec. See:
https://lore.kernel.org/r/CACGkMEt0spn59oLyoCwcJDdLeYUEibePF7gppxdVX1YvmAr72Q@mail.gmail.com
- Added a Buglink to patch
"virtio-net: Fix hash reporting when the queue changes".
- Rebased.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Akihiko Odaki (6):
net: checksum: Convert data to void *
virtio-net: Fix size check in dhclient workaround
virtio-net: Do not check for the queue before RSS
virtio-net: Fix hash reporting when the queue changes
virtio-net: Initialize hash reporting values
virtio-net: Copy received header to buffer

 include/net/checksum.h |   2 +-
 hw/net/virtio-net.c    | 108 +++++++++++++++++++++++++++----------------------
 net/checksum.c         |   4 +-
 3 files changed, 63 insertions(+), 51 deletions(-)

---
base-commit: 34754a3a627e1937be7f3daaa0c5e73d91c7d9b5
change-id: 20240907-queue-f425937a730f

Best regards,

Signature · 1 line
Akihiko Odaki <[email protected]>