Hi all,
I noticed an issue when recalculating UDP checksums in 
dp_packet_ol_send_prepare -> packet_udp_complete_csum -> csum_finish.
If the packet is the first fragment of a UDP fragmented packet, the checksum 
can be wrong. Example:UDP payload 2000 bytes, fragmented with MTU 1500.
First fragment payload 1480 bytes, but udp->udp_len = 2008.
Checksum calculation cannot access later fragments, so it’s incorrect.
Has anyone seen this before or have a recommended solution for handling UDP 
checksum on fragmented packets?
Thanks!



[email protected]
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to