1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/libnetwork/drivers/overlay
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
..
joinleave.go Overlay driver 2015-06-18 15:06:24 -07:00
ov_endpoint.go Overlay driver 2015-06-18 15:06:24 -07:00
ov_network.go Fix racy joinSandbox behavior 2015-08-13 14:55:16 -07:00
ov_serf.go Overlay driver 2015-06-18 15:06:24 -07:00
ov_utils.go Pass the vxlan port in network endian order 2015-08-07 14:58:41 -07:00
overlay.go Use IANA assigned VXLAN port 2015-07-03 03:43:02 +01:00
overlay_test.go Overlay driver 2015-06-18 15:06:24 -07:00
peerdb.go Sometimes fdb points to wrong vtep 2015-07-20 18:01:40 -07:00