diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-05-26 17:45:08 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-26 17:45:08 +0000 |
commit | 425f4b5d29de7dae77ba32ca63896f69c31915d3 (patch) | |
tree | f85920d8b5a9ea19d04f5418566bd7e0312e1e90 /pkg/tcpip/stack/rand.go | |
parent | 4b582da306eb8dd7fe8b3e1f592f2a1aef6af4e9 (diff) | |
parent | 14a70624ce95dcf9e4505698b1174df583b13179 (diff) |
Merge release-20210518.0-47-g14a70624c (automated)
Diffstat (limited to 'pkg/tcpip/stack/rand.go')
-rw-r--r-- | pkg/tcpip/stack/rand.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/rand.go b/pkg/tcpip/stack/rand.go index 421fb5c15..c8294eb6e 100644 --- a/pkg/tcpip/stack/rand.go +++ b/pkg/tcpip/stack/rand.go @@ -15,7 +15,7 @@ package stack import ( - mathrand "math/rand" + "math/rand" "gvisor.dev/gvisor/pkg/sync" ) @@ -23,7 +23,7 @@ import ( // lockedRandomSource provides a threadsafe rand.Source. type lockedRandomSource struct { mu sync.Mutex - src mathrand.Source + src rand.Source } func (r *lockedRandomSource) Int63() (n int64) { |