]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 May 2024 14:32:37 +0000 (16:32 +0200)
commit36054132dfb0b05e0bf5628b6a805827822c4441
tree5c177e0ead0442f60308971883e3e1e6f2651dad
parentcd212ca265b32cd48ef8889c94fc859c2d2f874b
ipvs: Fix checksumming on GSO of SCTP packets

[ Upstream commit e10d3ba4d434ed172914617ed8d74bd411421193 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/ipvs/ip_vs_proto_sctp.c