summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/socket/netstack
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2020-11-18 16:04:26 -0800
committergVisor bot <gvisor-bot@google.com>2020-11-18 16:06:31 -0800
commit7158095d687dd9ede3a3fc8da1f4dfbb2ebc176e (patch)
treef424dfb30dd5950b8b24d61773534583a43ed6d6 /pkg/sentry/socket/netstack
parentdf37babd576ba4607e2fe69eb2c669aa2954b9cb (diff)
Fix race condition in multi-container wait test
Container is not thread-safe, locking must be done in the caller. The test was calling Container.Wait() from multiple threads with no synchronization. Also removed Container.WaitPID from test because the process might have already existed when wait is called. PiperOrigin-RevId: 343176280
Diffstat (limited to 'pkg/sentry/socket/netstack')
0 files changed, 0 insertions, 0 deletions