diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-03-19 13:44:26 -0700 |
---|---|---|
committer | Kevin Krakauer <krakauer@google.com> | 2021-03-19 14:13:22 -0700 |
commit | a36748e572014bb2269da1306862bd14369f1f81 (patch) | |
tree | 5a677a92bb1f6f9eb94d64f96a86f68c54a18257 /pkg/tcpip/socketops.go | |
parent | 24bc95bfc45224a3314e0af64584b96fec4af43b (diff) |
Moved to atomicbitops and renamed files
Diffstat (limited to 'pkg/tcpip/socketops.go')
-rw-r--r-- | pkg/tcpip/socketops.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/socketops.go b/pkg/tcpip/socketops.go index 9ce5f231b..5f8f2abe1 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" ) @@ -205,7 +206,7 @@ type SocketOptions struct { getSendBufferLimits GetSendBufferLimits `state:"manual"` // sendBufferSize determines the send buffer size for this socket. - sendBufferSize AlignedAtomicInt64 + sendBufferSize atomicbitops.AlignedAtomicInt64 // mu protects the access to the below fields. mu sync.Mutex `state:"nosave"` |