]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ipv6: fix TCP GSO segmentation with NAT
authorFelix Fietkau <nbd@nbd.name>
Tue, 11 Mar 2025 21:25:30 +0000 (22:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:03:27 +0000 (22:03 +0100)
commit8940e6168bb353379772ef2555610a82ac569e36
tree7eb8f94c7a0feb6db9a3342f41195e51d5fbdb36
parentd4bf956547c38c04fad8d72a961ac4dc00bad000
net: ipv6: fix TCP GSO segmentation with NAT

[ Upstream commit daa624d3c2ddffdcbad140a9625a4064371db44f ]

When updating the source/destination address, the TCP/UDP checksum needs to
be updated as well.

Fixes: bee88cd5bd83 ("net: add support for segmenting TCP fraglist GSO packets")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://patch.msgid.link/20250311212530.91519-1-nbd@nbd.name
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/ipv6/tcpv6_offload.c