summaryrefslogtreecommitdiffhomepage
path: root/pkg/unet/unet.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/unet/unet.go')
-rw-r--r--pkg/unet/unet.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/unet/unet.go b/pkg/unet/unet.go
index c976d7230..22dd40f21 100644
--- a/pkg/unet/unet.go
+++ b/pkg/unet/unet.go
@@ -23,7 +23,7 @@ import (
"sync/atomic"
"syscall"
- "gvisor.dev/gvisor/pkg/gate"
+ "gvisor.dev/gvisor/pkg/sync"
)
// backlog is used for the listen request.
@@ -67,7 +67,7 @@ func eventFD() (int, error) {
// Socket is a connected unix domain socket.
type Socket struct {
// gate protects use of fd.
- gate gate.Gate
+ gate sync.Gate
// fd is the bound socket.
//