Skip to content

tun: clear virtioNetHdr when deleting item from tcpGROTable - #142

Merged
encodeous merged 2 commits into
mainfrom
ac/update-wg-upstream
Jul 26, 2026
Merged

tun: clear virtioNetHdr when deleting item from tcpGROTable#142
encodeous merged 2 commits into
mainfrom
ac/update-wg-upstream

Conversation

@encodeous

Copy link
Copy Markdown
Owner

Update from upstream wireguard-go

Otherwise the deleted packet gets written to the TUN fd with an invalid
virtioNetHdr.

Fixes: 9e2f386 ("conn, device, tun: implement vectorized I/O on Linux")
Signed-off-by: Jordan Whited jordan@tailscale.com
Signed-off-by: Jason A. Donenfeld Jason@zx2c4.com

jwhited and others added 2 commits May 22, 2026 23:04
Otherwise the deleted packet gets written to the TUN fd with an invalid
virtioNetHdr.

Fixes: 9e2f386 ("conn, device, tun: implement vectorized I/O on Linux")
Signed-off-by: Jordan Whited <jordan@tailscale.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
@encodeous
encodeous merged commit d38ca02 into main Jul 26, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants