]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipvs: Fix checksumming on GSO of SCTP packets
authorIsmael Luceno <iluceno@suse.de>
Sun, 21 Apr 2024 14:22:32 +0000 (16:22 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 24 Apr 2024 22:22:48 +0000 (00:22 +0200)
commite10d3ba4d434ed172914617ed8d74bd411421193
tree2c50a85b44becf66975ab07f8401126d0a7cc69d
parenta9176f7c66f0f438dfd9a1a6c86ca7b73280a494
ipvs: Fix checksumming on GSO of SCTP packets

It was observed in the wild that pairs of consecutive packets would leave
the IPVS with the same wrong checksum, and the issue only went away when
disabling GSO.

IPVS needs to avoid computing the SCTP checksum when using GSO.

Fixes: 90017accff61 ("sctp: Add GSO support")
Co-developed-by: Firo Yang <firo.yang@suse.com>
Signed-off-by: Ismael Luceno <iluceno@suse.de>
Tested-by: Andreas Taschner <andreas.taschner@suse.com>
Acked-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/ipvs/ip_vs_proto_sctp.c