summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netlink/port/port.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/sentry/socket/netlink/port/port.go')
-rw-r--r--pkg/sentry/socket/netlink/port/port.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/sentry/socket/netlink/port/port.go b/pkg/sentry/socket/netlink/port/port.go
index e9d3275b1..2cd3afc22 100644
--- a/pkg/sentry/socket/netlink/port/port.go
+++ b/pkg/sentry/socket/netlink/port/port.go
@@ -24,7 +24,8 @@ import (
"fmt"
"math"
"math/rand"
- "sync"
+
+ "gvisor.dev/gvisor/pkg/sync"
)
// maxPorts is a sanity limit on the maximum number of ports to allocate per