derp/xdp: fix handling of zero value UDP checksums (#12510)

validate_udp_checksum was previously indeterminate (not zero) at
declaration, and IPv4 zero value UDP checksum packets were being passed
to the kernel.

Updates tailscale/corp#20689

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited
2024-06-17 14:06:53 -07:00
committed by GitHub
parent 8cc2738609
commit 315f3d5df1
4 changed files with 49 additions and 1 deletions

Binary file not shown.