mirror of
https://github.com/slackhq/nebula.git
synced 2026-08-15 15:57:01 +02:00
f9eb86df9d
Nothing previously asserted the offload path works end to end -- a silent fallback to per-packet sends would pass every test and only show up as a throughput regression. Send a batch through a real StdConn over loopback and assert (a) the run left as a single sendmmsg entry (GSO engaged, via a spy around the real syscall) and (b) the kernel carved the superpacket back into the exact original datagrams at the receiver. Fails rather than skips when the probe reports no GSO on a UDP_SEGMENT- capable kernel, so CI (make test, ubuntu-latest) guards engagement. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>