28 Nov
2024
28 Nov
'24
2:04 p.m.
On Thu, 28 Nov 2024 13:08:41 +0100
Laurent Vivier
In tcp_vu_data_from_sock() we compute IPv4 header checksum only for the first and the last packets, and re-use the first packet checksum for all the other packets as the content of the header doesn't change.
It's more accurate to check the dlen value to know if the checksum should change as dlen is the only information that can change in the loop.
Signed-off-by: Laurent Vivier
Applied. -- Stefano