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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Willem de Bruijn <willemb@xxxxxxxxxx>

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(-)

-- 
2.46.0.598.g6f2099f65c-goog





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux