mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-20 02:12:17 -04:00
wgengine/netstack: re-enable gVisor GSO on Linux (#13269)
This was previously disabled in8e42510due 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:
1 parent
d097096ddc
commit
bfcb3562e6
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user