moby--moby/libnetwork/drivers
Jana Radhakrishnan 61f3a2e253 Fix racy joinSandbox behavior
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>
2015-08-13 14:55:16 -07:00
..
bridge Adding libnetwork support to publish on custom host port ranges. 2015-08-08 00:23:03 +00:00
host Honor driver side resolv.conf file 2015-07-02 10:39:06 -07:00
null Replacing isReservedNetwork with Driver capability 2015-06-10 23:59:38 -07:00
overlay Fix racy joinSandbox behavior 2015-08-13 14:55:16 -07:00
remote Expose the remote driver API structs publicly. 2015-07-16 06:11:50 +00:00
windows Replacing isReservedNetwork with Driver capability 2015-06-10 23:59:38 -07:00