Skip to content

Backport fix for net: missing check virtio

Willem de Bruijn netdev stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validationinclude/linux/virtio_net.h+16 -30 replies
2/4net: change maximum number of UDP segments to 128include/linux/udp.h tools/testing/selftests/net/udpgso.c+2 -20 replies
3/4gso: fix dodgy bit handling for GSO_UDP_L4net/ipv4/udp_offload.c+10 -30 replies
4/4net: drop bad gso csum_start and offset in virtio_net_hdrinclude/linux/virtio_net.h net/ipv4/tcp_offload.c net/ipv4/udp_offload.c+12 -110 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchEric DumazetJason WangWillem de Bruijn
1/4R-b A-b
2/4R-b
3/4A-b R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 5.15 0/4] Backport fix for net: missing check virtio

From: Willem de Bruijn <[email protected]>

Backport the following commit, because it fixes an existing backport that has caused multiple reports of breakage on 5.15 based kernels:

net: drop bad gso csum_start and offset in virtio_net_hdr

To backport without conflicts, also backport its two dependencies:

net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation
gso: fix dodgy bit handling for GSO_UDP_L4

Also backport the one patch in netdev-net/main that references one of the above in its Fixes tag:

net: change maximum number of UDP segments to 128

All four patches also exist in 6.1.109

 include/linux/udp.h                  |  2 +-
 include/linux/virtio_net.h           | 35 +++++++++++++++++-----------
 net/ipv4/tcp_offload.c               |  3 +++
 net/ipv4/udp_offload.c               | 17 +++++++++++---
 tools/testing/selftests/net/udpgso.c |  2 +-
 5 files changed, 40 insertions(+), 19 deletions(-)
Signature · 1 line
2.46.0.598.g6f2099f65c-goog