mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
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>
This commit is contained in:
parent
2dd71e64ac
commit
2f27319baf
@ -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…
Reference in New Issue
Block a user