summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/socketops.go
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2021-03-19 13:44:26 -0700
committerKevin Krakauer <krakauer@google.com>2021-05-06 13:04:59 -0700
commit1e2ba2666135e7f28cb3c4185add5a257ad53637 (patch)
treeb11daeb518f926830c543e1dba158c8320bae3c4 /pkg/tcpip/socketops.go
parent4c9340fcbf0cb10c230925e24f082478f7c458a0 (diff)
Moved to atomicbitops and renamed files
Diffstat (limited to 'pkg/tcpip/socketops.go')
-rw-r--r--pkg/tcpip/socketops.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/socketops.go b/pkg/tcpip/socketops.go
index 8158e238d..b26936b7f 100644
--- a/pkg/tcpip/socketops.go
+++ b/pkg/tcpip/socketops.go
@@ -18,6 +18,7 @@ import (
"math"
"sync/atomic"
+ "gvisor.dev/gvisor/pkg/atomicbitops"
"gvisor.dev/gvisor/pkg/sync"
)
@@ -213,7 +214,7 @@ type SocketOptions struct {
getSendBufferLimits GetSendBufferLimits `state:"manual"`
// sendBufferSize determines the send buffer size for this socket.
- sendBufferSize AlignedAtomicInt64
+ sendBufferSize atomicbitops.AlignedAtomicInt64
// getReceiveBufferLimits provides the handler to get the min, default and
// max size for receive buffer. It is initialized at the creation time and