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 Make TarStream return an io.ReadCloser 2015-11-25 16:39:54 -08:00
empty_test.go Add layer store 2015-11-24 09:40:23 -08:00
filestore.go Add more robust error handling on layer store creation 2016-01-19 11:17:08 -08:00
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 Verify layer tarstream 2016-02-17 14:26:16 -05:00
layer_windows.go Update code to compile against new manifest interface 2016-01-08 17:24:20 -08:00
migration.go Merge pull request #20458 from aaronlehmann/migration-close-gzip-writer 2016-02-18 16:48:50 -08:00
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 Verify layer tarstream 2016-02-17 14:26:16 -05:00