mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
61f3a2e253
The current lazy network sandbox initialization code has a race in that if multiple go routines race to join the network the second and subsequent go routines might try to use the sandbox before it is fully initialized. Fix this by blocking the go routines in once.Do calls and also take of care of rolling back properly in case of error. Signed-off-by: Jana Radhakrishnan <mrjana@docker.com> |
||
---|---|---|
.. | ||
bridge | ||
host | ||
null | ||
overlay | ||
remote | ||
windows |