From bfcb3562e64745c1db08f8d4e270c06d570cc042 Mon Sep 17 00:00:00 2001 From: Jordan Whited Date: Mon, 26 Aug 2024 20:35:32 -0700 Subject: [PATCH] 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 --- wgengine/netstack/netstack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wgengine/netstack/netstack.go b/wgengine/netstack/netstack.go index a3c22c19b..01af13b09 100644 --- a/wgengine/netstack/netstack.go +++ b/wgengine/netstack/netstack.go @@ -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