Skip to content

Commit

Permalink
wgengine/netstack: re-enable gVisor GSO on Linux (tailscale#13269)
Browse files Browse the repository at this point in the history
This was previously disabled in 8e42510 due to missing GSO-awareness in
tstun, which was resolved in d097096.

Updates tailscale/corp#22511

Signed-off-by: Jordan Whited <[email protected]>
  • Loading branch information
jwhited authored Aug 27, 2024
1 parent d097096 commit bfcb356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgengine/netstack/netstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ func Create(logf logger.Logf, tundev *tstun.Wrapper, e wgengine.Engine, mc *magi
supportedGROKind := groNotSupported
if runtime.GOOS == "linux" {
// TODO(jwhited): add Windows support https://github.com/tailscale/corp/issues/21874
// TODO(jwhited): re-enable GSO https://github.com/tailscale/corp/issues/22511
supportedGROKind = tcpGROSupported
supportedGSOKind = stack.HostGSOSupported
}
linkEP := newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", supportedGROKind)
linkEP.SupportedGSOKind = supportedGSOKind
Expand Down

0 comments on commit bfcb356

Please sign in to comment.