1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
Aaron Lehmann 2e92a84fa8 Fix layer store Get locking
Get was calling getReference without layerL held. This meant writes to
the references map could race. Such races are dangerous because they can
corrupt the map and crash the process.

Fixes #21616
Fixes #21674

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
(cherry picked from commit 0538981c31)
2016-03-31 18:35:37 -04:00
..
empty.go
empty_test.go
filestore.go
filestore_test.go *: remove unused stuff 2016-03-14 18:41:30 +01:00
layer.go Update mount state of live containers after a daemon crash. 2016-03-31 18:35:37 -04:00
layer_store.go Fix layer store Get locking 2016-03-31 18:35:37 -04:00
layer_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
layer_unix.go Cli binary can now be build on OpenBSD 2016-03-18 14:56:21 +01:00
layer_unix_test.go
layer_windows.go
migration.go
migration_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
mount_test.go Windows CI Unit Test: Docker layer turn off failing tests 2016-02-28 20:16:10 -08:00
mounted_layer.go Update mount state of live containers after a daemon crash. 2016-03-31 18:35:37 -04:00
ro_layer.go