mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 19:06:58 +02:00
8cebecc087
pseudoSumIPv4/IPv6, foldOnceNoInvert, ipv4HdrChecksum (batch) and foldComplement (tio/virtio) feed the virtio NEEDS_CSUM contract; a wrong seed means every coalesced packet is silently dropped by the receiver with nothing failing on our side. Check them against an independent reference built from explicit RFC pseudo-header bytes -- deliberately not the production checksum code -- including the carry/fold edge cases and an end-to-end seed -> kernel-completion -> receiver-accepts property. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>