summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/unix/transport/unix.go
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2018-10-17 16:30:11 -0700
committerShentubot <shentubot@google.com>2018-10-17 16:31:15 -0700
commitf7419fec26d1fd0d12936cc44f2c3481bbade033 (patch)
tree8582991c841f6b0cfebc24f39571d89645d5a4ca /pkg/sentry/socket/unix/transport/unix.go
parente0bb94201f1edb6ce649192fe4a62e1781940b50 (diff)
Use generic ilist in Unix transport queue
This should improve performance. PiperOrigin-RevId: 217610560 Change-Id: I370f196ea2396f1715a460b168ecbee197f94d6c
Diffstat (limited to 'pkg/sentry/socket/unix/transport/unix.go')
-rw-r--r--pkg/sentry/socket/unix/transport/unix.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/sentry/socket/unix/transport/unix.go b/pkg/sentry/socket/unix/transport/unix.go
index 9a0de9a06..2934101a2 100644
--- a/pkg/sentry/socket/unix/transport/unix.go
+++ b/pkg/sentry/socket/unix/transport/unix.go
@@ -19,7 +19,6 @@ import (
"sync"
"sync/atomic"
- "gvisor.googlesource.com/gvisor/pkg/ilist"
"gvisor.googlesource.com/gvisor/pkg/tcpip"
"gvisor.googlesource.com/gvisor/pkg/tcpip/buffer"
"gvisor.googlesource.com/gvisor/pkg/waiter"
@@ -243,7 +242,7 @@ type BoundEndpoint interface {
//
// +stateify savable
type message struct {
- ilist.Entry
+ messageEntry
// Data is the Message payload.
Data buffer.View