diff options
author | Bhasker Hariharan <bhaskerh@google.com> | 2021-05-11 10:26:17 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-11 10:30:33 -0700 |
commit | ebebb3059f7c5dbe42af85715f1c51c23461463b (patch) | |
tree | 184e34bc36d4e1f0341eb35460889519c44b4b94 /pkg/state/stats.go | |
parent | 60bdf7ed31bc32bb8413cfdb67cd906ca3d5955a (diff) |
Change AcquireAssignedAddress to use RLock.
This is a hot path for all incoming packets and we don't
need an exclusive lock here as we are not modifying any
of the fields protected by mu here.
PiperOrigin-RevId: 373181254
Diffstat (limited to 'pkg/state/stats.go')
0 files changed, 0 insertions, 0 deletions