go.mod: bump netstack, switch to upstream netstack

Now that Go 1.17 has module graph pruning
(https://go.dev/doc/go1.17#go-command), we should be able to use
upstream netstack without breaking our private repo's build
that then depends on the tailscale.com Go module.

This is that experiment.

Updates #1518 (the original bug to break out netstack to own module)
Updates #2642 (this updates netstack, but doesn't remove workaround)

Change-Id: I27a252c74a517053462e5250db09f379de8ac8ff
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-01-25 20:06:00 -08:00
committed by Brad Fitzpatrick
parent 857cd6c0d7
commit 1af26222b6
6 changed files with 66 additions and 75 deletions

View File

@@ -8,7 +8,7 @@ import (
"runtime"
"testing"
"inet.af/netstack/atomicbitops"
"gvisor.dev/gvisor/pkg/atomicbitops"
)
// tests netstack's AlignedAtomicInt64.