wgengine/netstack: re-enable gVisor GSO on Linux (#13269)
This was previously disabled in8e42510
due to missing GSO-awareness in tstun, which was resolved ind097096
. Updates tailscale/corp#22511 Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
parent
d097096ddc
commit
bfcb3562e6
@ -329,8 +329,8 @@ func Create(logf logger.Logf, tundev *tstun.Wrapper, e wgengine.Engine, mc *magi
|
|||||||
supportedGROKind := groNotSupported
|
supportedGROKind := groNotSupported
|
||||||
if runtime.GOOS == "linux" {
|
if runtime.GOOS == "linux" {
|
||||||
// TODO(jwhited): add Windows support https://github.com/tailscale/corp/issues/21874
|
// 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
|
supportedGROKind = tcpGROSupported
|
||||||
|
supportedGSOKind = stack.HostGSOSupported
|
||||||
}
|
}
|
||||||
linkEP := newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", supportedGROKind)
|
linkEP := newLinkEndpoint(512, uint32(tstun.DefaultTUNMTU()), "", supportedGROKind)
|
||||||
linkEP.SupportedGSOKind = supportedGSOKind
|
linkEP.SupportedGSOKind = supportedGSOKind
|
||||||
|
Loading…
Reference in New Issue
Block a user