]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
udp: fix receiving fraglist GSO packets
authorFelix Fietkau <nbd@nbd.name>
Mon, 19 Aug 2024 15:06:21 +0000 (17:06 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Sep 2024 09:07:53 +0000 (11:07 +0200)
commitd7037dc85112e92298f47aa11368387f3daa1d07
tree041a7e650f7949fab46f65d8bd36ddfa2fb1cd93
parente6cc9ff2ac0b5df9f25eb790934c3104f6710278
udp: fix receiving fraglist GSO packets

commit b128ed5ab27330deeeaf51ea8bb69f1442a96f7f upstream.

When assembling fraglist GSO packets, udp4_gro_complete does not set
skb->csum_start, which makes the extra validation in __udp_gso_segment fail.

Fixes: 89add40066f9 ("net: drop bad gso csum_start and offset in virtio_net_hdr")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://patch.msgid.link/20240819150621.59833-1-nbd@nbd.name
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/ipv4/udp_offload.c