summaryrefslogtreecommitdiffhomepage
path: root/device
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2023-10-02 14:46:13 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2023-10-10 15:07:36 +0200
commit8a015f7c766564c21f6bef6fdddedce7e2ede830 (patch)
tree00da122a1403ff7d0269ab767d8f74bf4f58e999 /device
parent895d6c23cd60bd0522c5b6598a69ad6c5f1ab3a7 (diff)
tun: reduce redundant checksumming in tcpGRO()
IPv4 header and pseudo header checksums were being computed on every merge operation. Additionally, virtioNetHdr was being written at the same time. This delays those operations until after all coalescing has occurred. Reviewed-by: Adrian Dewhurst <adrian@tailscale.com> Signed-off-by: Jordan Whited <jordan@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'device')
0 files changed, 0 insertions, 0 deletions