diff options
author | Tamir Duberstein <tamird@google.com> | 2018-09-05 18:58:09 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-05 18:59:16 -0700 |
commit | 156b49ca85be7602ec034167767f0d0bfedf2be5 (patch) | |
tree | e1ab6c9664461f0641ca2641f3549481a316b35f /runsc/container/container_test.go | |
parent | 5f0002fc83a77a39d9a2ef1443bc6c18e22ea779 (diff) |
Fix race condition introduced in 211135505
Now that it's possible to remove subnets, we must iterate over them with locks
held.
Also do the removal more efficiently while I'm here.
PiperOrigin-RevId: 211737416
Change-Id: I29025ec8b0c3ad11f22d4447e8ad473f1c785463
Diffstat (limited to 'runsc/container/container_test.go')
0 files changed, 0 insertions, 0 deletions