public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 5.15 0/4] Backport fix for net: missing check virtio
@ 2024-09-09 18:22 Willem de Bruijn
  2024-09-09 18:22 ` [PATCH 5.15 1/4] net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation Willem de Bruijn
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Willem de Bruijn @ 2024-09-09 18:22 UTC (permalink / raw)
  To: stable; +Cc: netdev, gregkh, christian, mathieu.tortuyaux, Willem de Bruijn

From: Willem de Bruijn <willemb@google.com>

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-09-10  7:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-09 18:22 [PATCH 5.15 0/4] Backport fix for net: missing check virtio Willem de Bruijn
2024-09-09 18:22 ` [PATCH 5.15 1/4] net: more strict VIRTIO_NET_HDR_GSO_UDP_L4 validation Willem de Bruijn
2024-09-09 18:22 ` [PATCH 5.15 2/4] net: change maximum number of UDP segments to 128 Willem de Bruijn
2024-09-09 18:22 ` [PATCH 5.15 3/4] gso: fix dodgy bit handling for GSO_UDP_L4 Willem de Bruijn
2024-09-09 18:22 ` [PATCH 5.15 4/4] net: drop bad gso csum_start and offset in virtio_net_hdr Willem de Bruijn
2024-09-10  7:30 ` [PATCH 5.15 0/4] Backport fix for net: missing check virtio Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox