diff options
author | Jordan Whited <jordan@tailscale.com> | 2023-10-02 14:46:13 -0700 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2023-10-10 15:07:36 +0200 |
commit | 8a015f7c766564c21f6bef6fdddedce7e2ede830 (patch) | |
tree | 00da122a1403ff7d0269ab767d8f74bf4f58e999 /tai64n | |
parent | 895d6c23cd60bd0522c5b6598a69ad6c5f1ab3a7 (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 'tai64n')
0 files changed, 0 insertions, 0 deletions