wgengine/netstack: re-enable gVisor GSO on Linux (#13269)

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 <jordan@tailscale.com>
pull/12170/merge
Jordan Whited 3 months ago committed by GitHub
parent d097096ddc
commit bfcb3562e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save