wgengine/netstack: disable gVisor TCP GRO for Linux (#13138)

A SIGSEGV was observed around packet merging logic in gVisor's GRO
package.

Updates tailscale/corp#22353

Signed-off-by: Jordan Whited <jordan@tailscale.com>
22332-macos-sequoia-hostname
Jordan Whited 3 months ago committed by GitHub
parent 2dd71e64ac
commit 2f27319baf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -326,8 +326,9 @@ func Create(logf logger.Logf, tundev *tstun.Wrapper, e wgengine.Engine, mc *magi
} }
var linkEP *linkEndpoint var linkEP *linkEndpoint
if runtime.GOOS == "linux" { if runtime.GOOS == "linux" {
// TODO(jwhited): add Windows support https://github.com/tailscale/corp/issues/21874 // TODO(jwhited): add Windows GSO support https://github.com/tailscale/corp/issues/21874
linkEP = newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", enableGRO) // TODO(jwhited): exercise enableGRO in relation to https://github.com/tailscale/corp/issues/22353
linkEP = newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", disableGRO)
linkEP.SupportedGSOKind = stack.HostGSOSupported linkEP.SupportedGSOKind = stack.HostGSOSupported
} else { } else {
linkEP = newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", disableGRO) linkEP = newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", disableGRO)

Loading…
Cancel
Save