summaryrefslogtreecommitdiffhomepage
path: root/rwcancel
diff options
context:
space:
mode:
authorJordan Whited <jordan@tailscale.com>2023-03-24 16:23:42 -0700
committerJason A. Donenfeld <Jason@zx2c4.com>2023-03-25 23:13:38 +0100
commit052af4a8072bbbd3bfe7edf46fe3c1b350f71f08 (patch)
tree448be165ffd8d385c63e3d93d77adf1f8b7427ef /rwcancel
parentaad7fca9c504effdaf3c77dd635e85c94dc4521d (diff)
tun: use correct IP header comparisons in tcpGRO() and tcpPacketsCanCoalesce()
tcpGRO() was using an incorrect IPv4 more fragments bit mask. tcpPacketsCanCoalesce() was not distinguishing tcp6 from tcp4, and TTL values were not compared. TTL values should be equal at the IP layer, otherwise the packets should not coalesce. This tracks with the kernel. Reviewed-by: Denton Gentry <dgentry@tailscale.com> Signed-off-by: Jordan Whited <jordan@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'rwcancel')
0 files changed, 0 insertions, 0 deletions