diff options
author | Kevin Krakauer <krakauer@google.com> | 2021-03-19 13:44:26 -0700 |
---|---|---|
committer | Kevin Krakauer <krakauer@google.com> | 2021-05-06 13:04:59 -0700 |
commit | 1e2ba2666135e7f28cb3c4185add5a257ad53637 (patch) | |
tree | b11daeb518f926830c543e1dba158c8320bae3c4 /pkg/tcpip/tcpip.go | |
parent | 4c9340fcbf0cb10c230925e24f082478f7c458a0 (diff) |
Moved to atomicbitops and renamed files
Diffstat (limited to 'pkg/tcpip/tcpip.go')
-rw-r--r-- | pkg/tcpip/tcpip.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/tcpip/tcpip.go b/pkg/tcpip/tcpip.go index 1bc13ef68..b39af42c4 100644 --- a/pkg/tcpip/tcpip.go +++ b/pkg/tcpip/tcpip.go @@ -40,6 +40,7 @@ import ( "sync/atomic" "time" + "gvisor.dev/gvisor/pkg/atomicbitops" "gvisor.dev/gvisor/pkg/sync" "gvisor.dev/gvisor/pkg/waiter" ) @@ -1220,7 +1221,7 @@ type NetworkProtocolNumber uint32 // A StatCounter keeps track of a statistic. type StatCounter struct { - count AlignedAtomicUint64 + count atomicbitops.AlignedAtomicUint64 } // Increment adds one to the counter. |