aboutgitcodebugslistschat
path: root/test
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2026-05-13 13:52:14 +0200
committerStefano Brivio <sbrivio@redhat.com>2026-05-20 01:21:38 +0200
commitaa78f63c3c9491a9cad9f3c805a59748bd8c1ae2 (patch)
tree1ea7f1fdf52a7257a5f105e0d3315b421420fb1e /test
parent7cd5afbed58d05cae84e7c00c5c160e8f24f714d (diff)
downloadpasst-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar.gz
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar.bz2
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar.lz
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar.xz
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.tar.zst
passt-aa78f63c3c9491a9cad9f3c805a59748bd8c1ae2.zip
checksum: Pass explicit L4 length to checksum functions
The iov_tail passed to csum_iov_tail() may contain padding or trailing data beyond the actual L4 payload. Rather than relying on iov_tail_size() to determine how many bytes to checksum, pass the length explicitly so that only the relevant payload bytes are included in the checksum computation. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions