diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-10-01 17:00:24 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-10-01 17:03:41 -0700 |
commit | 3bab5e56677942c19d0777a1d6aee38a25a05bbb (patch) | |
tree | 0d02ec7474d9b6beafb86e10c94d63c07de168f9 /pkg/sentry/fs/host | |
parent | 51c4fbb840b98380b4016bac030f0adbd5725d70 (diff) |
Read lock when getting connections
We should avoid taking the write lock to avoid contention when looking
for a packet's tracked connection.
No need to reap timed out connections when looking for connections
as the reaper (which runs periodically) will handle that.
PiperOrigin-RevId: 400322514
Diffstat (limited to 'pkg/sentry/fs/host')
0 files changed, 0 insertions, 0 deletions