summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-02-24 20:05:55 +0000
committergVisor bot <gvisor-bot@google.com>2021-02-24 20:05:55 +0000
commit0328d62d64d68c26d7c62a8ae98799e831e59d07 (patch)
treef2e4a8065e59608616e26c5bc338bd1f3873b7ae /pkg/tcpip/link
parent0bca8624f6f1b3c7cbffc35a400d3e009b85e3a3 (diff)
parentba4dfa7172a00f8b104a75a4655fe3de1e4a94c9 (diff)
Merge release-20210208.0-89-gba4dfa717 (automated)
Diffstat (limited to 'pkg/tcpip/link')
-rw-r--r--pkg/tcpip/link/waitable/waitable.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/tcpip/link/waitable/waitable.go b/pkg/tcpip/link/waitable/waitable.go
index 20259b285..ce5113746 100644
--- a/pkg/tcpip/link/waitable/waitable.go
+++ b/pkg/tcpip/link/waitable/waitable.go
@@ -22,7 +22,7 @@
package waitable
import (
- "gvisor.dev/gvisor/pkg/gate"
+ "gvisor.dev/gvisor/pkg/sync"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/header"
"gvisor.dev/gvisor/pkg/tcpip/stack"
@@ -30,10 +30,10 @@ import (
// Endpoint is a waitable link-layer endpoint.
type Endpoint struct {
- dispatchGate gate.Gate
+ dispatchGate sync.Gate
dispatcher stack.NetworkDispatcher
- writeGate gate.Gate
+ writeGate sync.Gate
lower stack.LinkEndpoint
}