You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/tstun
Jordan Whited df6014f1d7
net/tstun,wgengine{/netstack/gro}: refactor and re-enable gVisor GRO for Linux (#13172)
In 2f27319baf we disabled GRO due to a
data race around concurrent calls to tstun.Wrapper.Write(). This commit
refactors GRO to be thread-safe, and re-enables it on Linux.

This refactor now carries a GRO type across tstun and netstack APIs
with a lifetime that is scoped to a single tstun.Wrapper.Write() call.

In 25f0a3fc8f we used build tags to
prevent importation of gVisor's GRO package on iOS as at the time we
believed it was contributing to additional memory usage on that
platform. It wasn't, so this commit simplifies and removes those
build tags.

Updates tailscale/corp#22353
Updates tailscale/corp#22125
Updates #6816

Signed-off-by: Jordan Whited <jordan@tailscale.com>
3 months ago
..
fake.go cmd/tailscaled,net/tstun: fix data race on start-up in TUN mode 1 year ago
ifstatus_noop.go all: update copyright and license headers 2 years ago
ifstatus_windows.go all: update copyright and license headers 2 years ago
linkattrs_linux.go all: update copyright and license headers 2 years ago
linkattrs_notlinux.go all: update copyright and license headers 2 years ago
mtu.go disco,net/tstun,wgengine/magicsock: probe peer MTU 1 year ago
mtu_test.go disco,net/tstun,wgengine/magicsock: probe peer MTU 1 year ago
tap_linux.go go.mod,*: bump gvisor 1 year ago
tap_unsupported.go all: update copyright and license headers 2 years ago
tstun_stub.go cmd/tailscaled, net/tstun: build for aix/ppc64 7 months ago
tun.go net/tstun: implement env var for disabling UDP GRO on Linux (#11924) 6 months ago
tun_features_linux.go net/tstun: implement env var for disabling UDP GRO on Linux (#11924) 6 months ago
tun_features_notlinux.go net/tstun: implement env var for disabling UDP GRO on Linux (#11924) 6 months ago
tun_linux.go all: update copyright and license headers 2 years ago
tun_macos.go all: update copyright and license headers 2 years ago
tun_notwindows.go all: update copyright and license headers 2 years ago
tun_windows.go all: update copyright and license headers 2 years ago
wrap.go net/tstun,wgengine{/netstack/gro}: refactor and re-enable gVisor GRO for Linux (#13172) 3 months ago
wrap_test.go net/tstun,wgengine{/netstack/gro}: refactor and re-enable gVisor GRO for Linux (#13172) 3 months ago