summaryrefslogtreecommitdiff
path: root/scripts/const_structs.checkpatch
diff options
context:
space:
mode:
authorAlice Mikityanska <alice@isovalent.com>2026-06-11 21:29:45 +0200
committerPaolo Abeni <pabeni@redhat.com>2026-06-14 13:27:39 +0200
commit9bcb30b389ec5888590cb6ec58c7a3b80fe49a11 (patch)
tree4528137561435c0f3f089fe229919035aad74a8f /scripts/const_structs.checkpatch
parent383bad5ffeb8a84fcb4b87544429edb82aa5d223 (diff)
net/sched: act_csum: don't mangle UDP tunnel GSO packets
Similar to commit add641e7dee3 ("sched: act_csum: don't mangle TCP and UDP GSO packets"), UDP tunnel GSO packets going through act_csum shouldn't have their checksum calculated at this point, because it will be done after segmentation. Setting the checksum in act_csum modifies skb->ip_summed and prevents inner IP csum offload from kicking in, resulting in a packet with a bad checksum. Add UDP tunnel GSO packets to the exceptions, and also add UDP GSO (SKB_GSO_UDP_L4), as the same logic as in the commit mentioned above applies to UDP GSO too. Signed-off-by: Alice Mikityanska <alice@isovalent.com> Reviewed-by: Davide Caratti <dcaratti@redhat.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://patch.msgid.link/20260611192955.604661-2-alice.kernel@fastmail.im Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions